Created
January 21, 2015 17:19
-
-
Save hashbrowncipher/7f7e6075a64bdb037b67 to your computer and use it in GitHub Desktop.
a wrapper for touch(1)ing a file when a job succeeds, developed at Yelp
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 | |
set -eu | |
name="$1" | |
shift | |
"$@" | |
touch "/var/lib/success_wrapper/${name}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment