|
@@ -7,16 +7,10 @@ if [ ! -f "$PWD/lib/flanagan.jar" ];then
|
|
|
echo "Error: Please put your 'flanagan.jar' in ./lib/flanagan.jar" 1>&2
|
|
|
exit 1
|
|
|
fi
|
|
|
-if ! command -v "xclip" > /dev/null 2>&1; then
|
|
|
- echo "Error: $prog is not found" 1>&2
|
|
|
- exit 1
|
|
|
-fi
|
|
|
if ! echo "${PWD##*/}" | grep -q "^inputOutputFlanagan"; then
|
|
|
echo "Error: Please execute this file in the 'inputOutputFlanagan' directory" 1>&2
|
|
|
exit 1
|
|
|
fi
|
|
|
|
|
|
-#echo "export CLASSPATH=\":$PWD/lib/flanagan.jar:\"" | xclip -sel clip
|
|
|
echo "export CLASSPATH=\":$PWD/lib/flanagan.jar:\"" > .path
|
|
|
-#echo "now paste in your system clipboard"
|
|
|
-source .path
|
|
|
+# now execute in your commandline "source .path"
|