buildsys: show package name if not found

current error " no package.mk file found in " does not
give a hint what package (dependency) is missing
This commit is contained in:
Stefan Saraev 2014-08-17 19:13:43 +03:00 committed by Stephan Raue
parent 26c49caf2b
commit fb2279d505
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ if [ -z "$1" ]; then
fi
if [ ! -f $PKG_DIR/package.mk ]; then
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
printf "${boldred}$1: no package.mk file found${endcolor}\n"
exit 1
fi

View File

@ -53,7 +53,7 @@ if [ -n "$PKG_ARCH" -a ! "$PKG_ARCH" = "any" ]; then
fi
if [ ! -f $PKG_DIR/package.mk ]; then
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
printf "${boldred}${PACKAGE_NAME}: no package.mk file found${endcolor}\n"
exit 1
fi

View File

@ -26,7 +26,7 @@ if [ -z "$1" ]; then
fi
if [ ! -f $PKG_DIR/package.mk ]; then
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
printf "${boldred}$1: no package.mk file found${endcolor}\n"
exit 1
fi