diff --git a/OpenWRT/build.sh b/OpenWRT/build.sh index 72e4f06..05aca74 100755 --- a/OpenWRT/build.sh +++ b/OpenWRT/build.sh @@ -2,7 +2,7 @@ PACKAGE=cronosagent -PROJECT=$(pwd)/.. +PROJECT=$(readlink -f $0 | xargs dirname)/.. OPENWRT=$HOME/openwrt if [ -d $OPENWRT/package/$PACKAGE ]