comparison bin/example/self-writing.sh @ 328:5de727eb5dc0

its alive
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 08 Jun 2013 08:52:30 -0700
parents 59f402cd9d98
children aae9b0776e60
comparison
equal deleted inserted replaced
327:59f402cd9d98 328:5de727eb5dc0
24 echo "Temporary file creation not successful" 24 echo "Temporary file creation not successful"
25 exit 1 25 exit 1
26 fi 26 fi
27 27
28 # echo last and current generation times for example 28 # echo last and current generation times for example
29 echo "This script last generated at (None)" 29 echo "This script last generated at Sat Jun 8 08:52:05 PDT 2013"
30 echo "Now: ${datestamp}" 30 echo "Now: ${datestamp}"
31 31
32 # move tmpfile -> script location via exec 32 # move tmpfile -> script location via exec
33 exec mv ${tmp} ${path} 33 exec mv ${tmp} ${path}