Commit b2e004ad b2e004ad26deb13394724e5fa338531d83ad89e8 by Nicolas Perriault

fixed typo

1 parent 0d498257
...@@ -2,10 +2,9 @@ ...@@ -2,10 +2,9 @@
2 2
3 CASPER_EXECUTABLE=${BASH_SOURCE[0]} 3 CASPER_EXECUTABLE=${BASH_SOURCE[0]}
4 4
5 if [ -e "$CASPER_EXECUTABLE" ]; then 5 if [ -h "$CASPER_EXECUTABLE" ]; then
6 CASPER_EXECUTABLE="$( readlink $CASPER_EXECUTABLE )" 6 CASPER_EXECUTABLE="$( readlink $CASPER_EXECUTABLE )"
7 fi 7 fi
8 8
9 CASPERJS_HOME="$( cd -PL "$( dirname "$CASPER_EXECUTABLE" )" && cd .. && pwd )" 9 CASPERJS_HOME="$( cd -PL "$( dirname "$CASPER_EXECUTABLE" )" && cd .. && pwd )"
10
11 phantomjs $CASPERJS_HOME/casper.js --casper-path=$CASPERJS_HOME $* 10 phantomjs $CASPERJS_HOME/casper.js --casper-path=$CASPERJS_HOME $*
......