Last active
September 7, 2017 08:11
-
-
Save cverbiest/a7e39a64c1fede15e1c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Purpose : | |
# Author : Carl Verbiest | |
# vim: se ts=4 sw=4 ai: | |
script=$0 | |
script_dir=${script%/*} | |
script=${script##*/} | |
suffix=$(date +%y%m%d.%H%M%S) | |
logfile=/tmp/$script.$suffix | |
# Let unset variables cause an error | |
set -u | |
# Make errors stop execution | |
set -e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment