4
Fork 0

build.sh improved :)

This commit is contained in:
Artem Prilutskiy 2016-08-04 13:39:24 +03:00
parent 226d4ecd0a
commit e256328ee7

View file

@ -3,10 +3,9 @@
PACKAGE=cronosagent
PROJECT=$(pwd)/..
OPENWRT=${HOME}/openwrt
OPENWRT=$HOME/openwrt
test -d $OPENWRT/package/$PACKAGE
if [ "$?" -eq "0" ]
if [ -d $OPENWRT/package/$PACKAGE ]
then
# Remove existing package in buildroot
rm -rf $OPENWRT/package/$PACKAGE