Fix environment variables when building file list for core updates

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-05-24 13:17:30 +02:00
parent 6c86682e64
commit 3ddd5b66a9
2 changed files with 9 additions and 1 deletions

View File

@@ -19,6 +19,13 @@
# #
###############################################################################
for i in BUILD_ARCH BUILDTARGET KVER; do
if [ -z "${!i}" ]; then
echo "${i} not set" >&2
exit 1
fi
done
FILELIST=
for dir in $@; do