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:
@@ -200,7 +200,7 @@ _run_mksquashfs() {
|
||||
|
||||
# change for Antergos NeXT start
|
||||
|
||||
"$RUN_BEFORE_SQUASHFS"
|
||||
"$RUN_BEFORE_SQUASHFS" "$work_dir"
|
||||
|
||||
# change for Antergos NeXT end
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user