buildsystem: clean up and cosmetics

This commit is contained in:
Stefan Saraev
2014-01-27 15:05:34 +02:00
committed by Stephan Raue
parent cc94d58f27
commit a029deb2f1
3 changed files with 9 additions and 10 deletions

View File

@@ -25,15 +25,15 @@ if [ -z "$1" ]; then
exit 1
fi
$SCRIPTS/get $1
STAMP=$PKG_BUILD/.openelec-unpack
if [ ! -f $PKG_DIR/package.mk ]; then
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
exit 1
fi
$SCRIPTS/get $1
STAMP=$PKG_BUILD/.openelec-unpack
mkdir -p $BUILD
[ ! -d "$SOURCES/$1" -a ! -d "$PKG_DIR/sources" ] && exit 0