diff --git a/bin/gethugo b/bin/gethugo index 09d0c82..63c7713 100755 --- a/bin/gethugo +++ b/bin/gethugo @@ -8,7 +8,7 @@ else fi -mktemp -d && cd /tmp/$(ls -t /tmp | grep tmp. | head -1) +nutmp=$(mktemp -d);cd "$nutmp";unset nutmp WORKDIR=$(pwd) HOMEBIN="/home/$USER/.local/bin"