소스 검색

path-setup + git cleanup

Noah Vogt 4 년 전
부모
커밋
4cf5286396
2개의 변경된 파일2개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 0
      .gitignore
  2. 1 7
      inputOutputFlanagan/path-setup

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 *.class
 .path
+*/lib

+ 1 - 7
inputOutputFlanagan/path-setup

@@ -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"