Skip to content

Commit 050c4bc

Browse files
committed
[update] : Do not change script permission
1 parent 5841b30 commit 050c4bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,7 @@ make_tarball() {
968968
# Run script
969969
mount_airootfs
970970
if [[ -f "${airootfs_dir}/root/optimize_for_tarball.sh" ]]; then
971-
chmod 755 "${airootfs_dir}/root/optimize_for_tarball.sh"
972-
# Execute optimize_for_tarball.sh.
973-
_chroot_run "/root/optimize_for_tarball.sh -u ${username}"
971+
_chroot_run "bash /root/optimize_for_tarball.sh -u ${username}"
974972
fi
975973

976974
_cleanup_common

0 commit comments

Comments
 (0)