removed dependency on 'readlink -f' master
authorSvenne Krap <svenne@krap.dk>
Thu, 27 Jan 2011 19:45:42 +0000 (20:45 +0100)
committerSvenne Krap <svenne@krap.dk>
Thu, 27 Jan 2011 19:45:42 +0000 (20:45 +0100)
tools/lpcrc/lpcrc.sh

index 1bff216..690b807 100755 (executable)
@@ -3,7 +3,7 @@
 binary=$1
 source=$2
 
-lpcrc=$(dirname $(readlink -f $0))/lpcrc
+lpcrc=$(echo $0 | sed -e 's/.sh$//g')
 
 crcoutput=$($lpcrc $1)