build: let kernel and base be rebuild on any argument
Similar fix as packages. :)
This commit is contained in:
parent
92e80dedc9
commit
6f98277ed3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue