]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/archive.files
Fix environment variables when building file list for core updates
[ipfire-2.x.git] / src / scripts / archive.files
index 0ed237bfcb7783ec1bcc43c10685096fd5592621..45de8c78de61aceffad284893ed23532dfb2e582 100755 (executable)
 #                                                                             #
 ###############################################################################
 
+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