Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

replaced mktemp with a perl equivalent to make the setup usable on ma…

…chines without mktemp.
  • Loading branch information...
commit 3fab743fc3f6a3d0ba6333135178db6b1ec2e9a7 1 parent d3b2dda
Arno Gramatke authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/gl-setup
View
2  src/gl-setup
@@ -32,7 +32,7 @@ get_rc_val() {
# tempdir setup
# ----------------------------------------------------------------------
-TEMPDIR=`mktemp -d -t tmp.XXXXXXXXXX`
+TEMPDIR=`perl -MFile::Temp -l -e 'print File::Temp::tempdir("tmp.XXXXXXXXXX", TMPDIR => 1);'`
export TEMPDIR
trap "/bin/rm -rf $TEMPDIR" 0
Please sign in to comment.
Something went wrong with that request. Please try again.