Commits

Anonymous committed b87158d

-e -> -x oops

  • Participants
  • Parent commits 8e521bb

Comments (0)

Files changed (1)

 mktemp() ( # mktemp is not POSIX, so include my own simple implementation
 	export LC_CTYPE=C
 	td=${TMPDIR:-/tmp}
-	[[ -d $td && -r $td && -w $td && -e $td ]] || return 1
+	[[ -d $td && -r $td && -w $td && -x $td ]] || return 1
 	set -C
 	until { f=$td/$(tr -dc '[:alnum:]' < /dev/urandom | dd bs=8 count=1); >"$f"; }
 	do :; done 2>/dev/null