SHARE
TWEET

Untitled

a guest Oct 18th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- UrTUpdater_Ded.sh.orig  2016-01-31 22:50:48.000000000 +1100
  2. +++ UrTUpdater_Ded.sh   2019-10-19 11:36:34.226651682 +1100
  3. @@ -237,7 +237,12 @@
  4.  
  5.  function doBrowser ()
  6.  {
  7. -    TMPFILE=`tempfile -d "$CWD" -p tmp -s .html`
  8. +    TMPFILEBIN=`which tempfile 2> /dev/null`
  9. +    if [ -z "$TMPFILEBIN" ]; then
  10. +        TMPFILE="tmp`date +%y%m%H%M%S`.html"
  11. +    else
  12. +        TMPFILE=`$TMPFILEBIN -d "$CWD" -p tmp -s .html`
  13. +    fi
  14.  
  15.      echo "$1" > "$TMPFILE"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top