Skip to content

Instantly share code, notes, and snippets.

@pbm
Created January 26, 2011 17:56
Show Gist options
  • Save pbm/797112 to your computer and use it in GitHub Desktop.
Save pbm/797112 to your computer and use it in GitHub Desktop.
#
# generate a topaz exit command as last line of init file
if [[ ! $debugFlag ]]; then
cat - >> $dbscript <<-EOFB
exit
EOFB
else
cat - >> $dbscript <<-EOFC
stack
where
cont
exitifnoerror
EOFC
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment