Skip to content

Commit a99eef6

Browse files
committedDec 20, 2023
Update build.sh
1 parent bf0e17e commit a99eef6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎scripts/build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
# shellcheck disable=SC2034
2222
cd "$(dirname "$0")" || exit 1
2323
WORK_DIR=$(mktemp -d -t wsa-build-XXXXXXXXXX_) || exit 1
24+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2425
PARENT_DIR="$(dirname "$SCRIPT_DIR")"
25-
chmod 777 "$PARENT_DIR"
26+
sudo chmod 777 -R "$PARENT_DIR"
2627

2728
# lowerdir
2829
ROOT_MNT_RO="$WORK_DIR/erofs"

0 commit comments

Comments
 (0)
Please sign in to comment.