Fix run_before_squashfs.sh: use work_dir from argument instead of hardcoded path

Allows the script to find the airootfs when mkarchiso is run with -w <custom-path>
This commit is contained in:
2026-06-11 18:50:59 +02:00
parent 3b968afff5
commit c4a5776e33
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ _run_mksquashfs() {
# change for Antergos NeXT start
"$RUN_BEFORE_SQUASHFS"
"$RUN_BEFORE_SQUASHFS" "$work_dir"
# change for Antergos NeXT end
+1 -1
View File
@@ -6,7 +6,7 @@
# refining and changes november 2021 @killajoe and @manuel
script_path=$(readlink -f "${0%/*}")
work_dir="work"
work_dir="${1:-work}"
# needed for ranking mirrors inside the chroot start
get_country() {