1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

support spaces

This commit is contained in:
Jason N. 2024-03-04 18:24:08 -05:00
parent 7257b24054
commit 5df6762b67
2 changed files with 4 additions and 3 deletions

View file

@ -5,9 +5,10 @@ set -ex
# Create /dev/loop0 if it doesn't already exist. `losetup` has an issue creating it during the first run
mknod -m 0660 /dev/loop0 b 7 0 2>/dev/null || true
for entry in $@
while (( "$#" ))
do
export $entry
export "$1"
shift
done
# Pull container