Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- UrTUpdater_Ded.sh.orig 2016-01-31 22:50:48.000000000 +1100
- +++ UrTUpdater_Ded.sh 2019-10-19 11:36:34.226651682 +1100
- @@ -237,7 +237,12 @@
- function doBrowser ()
- {
- - TMPFILE=`tempfile -d "$CWD" -p tmp -s .html`
- + TMPFILEBIN=`which tempfile 2> /dev/null`
- + if [ -z "$TMPFILEBIN" ]; then
- + TMPFILE="tmp`date +%y%m%H%M%S`.html"
- + else
- + TMPFILE=`$TMPFILEBIN -d "$CWD" -p tmp -s .html`
- + fi
- echo "$1" > "$TMPFILE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement