diff --git a/archstrap.sh b/archstrap.sh index 747e87c..16f74b8 100755 --- a/archstrap.sh +++ b/archstrap.sh @@ -88,11 +88,10 @@ arch-build() { # Download and unpack our minimal Arch image. Or pacstrap it or whatever log "Bootstrapping an Arch installation" script="https://raw.githubusercontent.com/tokland/arch-bootstrap/master/arch-bootstrap.sh" - bootstrap="$(mktemp)" + bootstrap="/tmp/tmp.$USER.$_name.arch-bootstrap.sh" for file in "$bootstrap"; do touch "$file" chmod 0700 "$file" - trap cleanup "$file" EXIT done "$bootstrap" "$_optdest" }