From f1d06c55b47efcd8871bee97abc015d9dc6ce37b Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Sat, 30 Jul 2011 16:42:13 +0100 Subject: [PATCH] fixed the generateJsDoc script --- bin/generateJsDoc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/generateJsDoc.sh b/bin/generateJsDoc.sh index cf8762785..1667c1ccc 100755 --- a/bin/generateJsDoc.sh +++ b/bin/generateJsDoc.sh @@ -1,5 +1,10 @@ #!/bin/sh +#Move to the folder where ep-lite is installed +FOLDER=$(dirname $(readlink -f $0)) +cd $FOLDER + +#Was this script started in the bin folder? if yes move out if [ -d "../bin" ]; then cd "../" fi