aboutsummaryrefslogtreecommitdiff
path: root/alpine-chroot-create
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xalpine-chroot-create2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine-chroot-create b/alpine-chroot-create
index 34dd13d..7337b50 100755
--- a/alpine-chroot-create
+++ b/alpine-chroot-create
@@ -29,7 +29,7 @@ fi
export alpine_mirror
ensure export arch="$(uname -m)"
export release='edge'
-export chroot_dir="$1"
+ensure export chroot_dir="$(ensure realpath -- "$1")"
ensure export rxrand="$(base64 < /dev/random | tr -d '/+=' | head -c 10)"