build: let kernel and base be rebuild on any argument

Similar fix as packages.  :)
This commit is contained in:
Franco Fichtner 2016-01-31 17:27:44 +01:00
parent 92e80dedc9
commit 6f98277ed3
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ set -e
BASE_SET=$(find ${SETSDIR} -name "base-*-${ARCH}.txz")
if [ -f ${BASE_SET} ]; then
if [ -f "${BASE_SET}" -a -z "${1}" ]; then
echo ">>> Reusing base set: ${BASE_SET}"
exit 0
fi

View File

@ -31,7 +31,7 @@ set -e
KERNEL_SET=$(find ${SETSDIR} -name "kernel-*-${ARCH}.txz")
if [ -f ${KERNEL_SET} ]; then
if [ -f "${KERNEL_SET}" -a -z "${1}" ]; then
echo ">>> Reusing kernel set: ${KERNEL_SET}"
exit 0
fi