Set umask before executing scripts.
This commit is contained in:
parent
c24d5aa413
commit
ec9103850e
@ -7,6 +7,9 @@ DEBIAN_CODENAME='buster'
|
||||
KERNEL_VERSION='4.19.0-5-amd64'
|
||||
ARCH='amd64'
|
||||
|
||||
UMASK_ORIG=$(umask)
|
||||
umask 022
|
||||
|
||||
if [ -z "${TARGET}" ]; then
|
||||
echo "Usage: $0 <work_dir>"
|
||||
exit 255
|
||||
@ -60,3 +63,5 @@ tar cvf ${OUTPUT}/wmirescue_${ARCH}-netboot.tar -C ${OUTPUT}/netboot .
|
||||
./bin/dist_ipxe ${VERSION} ${OUTPUT} --nofirmware
|
||||
./bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT}
|
||||
./bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} --nofirmware
|
||||
|
||||
umask ${UMASK_ORIG}
|
||||
|
Loading…
Reference in New Issue
Block a user