diff --git a/createDocu.groovy b/documentation/bin/createDocu.groovy similarity index 100% rename from createDocu.groovy rename to documentation/bin/createDocu.groovy diff --git a/createDocu.sh b/documentation/bin/createDocu.sh similarity index 64% rename from createDocu.sh rename to documentation/bin/createDocu.sh index b903a2c62..c36f5d412 100755 --- a/createDocu.sh +++ b/documentation/bin/createDocu.sh @@ -1,6 +1,9 @@ #!/bin/bash +d=$(dirname "$0") +[ ! -z "$d" ] && d="$d/" + export CLASSPATH_FILE='cp.txt' mvn dependency:build-classpath -Dmdep.outputFile=${CLASSPATH_FILE} > /dev/null 2>&1 #~/Library/groovy-2.4.13/bin/groovy -cp src:`cat $CLASSPATH_FILE` createDocu -groovy -cp "src:$(cat $CLASSPATH_FILE)" createDocu "${@}" +groovy -cp "src:$(cat $CLASSPATH_FILE)" "${d}createDocu" "${@}"