Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEMP=`mktemp --directory`
- mytmpdir=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir'`
- (gnu-coreutils)$ man mktemp
- # If DIR is not specified, uses $TMPDIR if set, else /tmp.
- mytmpdir=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir'`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement