Skip to content

Commit

Permalink
changes to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
lsellens committed Jan 22, 2017
1 parent 613874d commit 4979fef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions create_addon
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ echo "Building $PKG_NAME-$PKG_VERSION.$PKG_REV"
rm -rf target/$PKG_VERSION.$PKG_REV/

rm -rf build
mkdir build
mkdir -p build/stamps

cp -rf $PKG_NAME build/$PKG_NAME

rm -f build/$PKG_NAME/*/.gitignore

for i in $PKG_DEPENDS;do
mkpkg/mkpkg_$i
if [ "$?" -ne "0" ]; then
echo "Error building $1";exit 1
if [ ! -f build/stamps/$i ]; then
mkpkg/mkpkg_$i
if [ "$?" -ne "0" ]; then
echo "Error building $i";exit 1
fi
fi
done

Expand Down

0 comments on commit 4979fef

Please sign in to comment.