Skip to content

Instantly share code, notes, and snippets.

@fuadnafiz98
Last active September 19, 2021 12:01
Show Gist options
  • Save fuadnafiz98/043d5b3c8a5637edb114ea639c0dec43 to your computer and use it in GitHub Desktop.
Save fuadnafiz98/043d5b3c8a5637edb114ea639c0dec43 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euo pipefail
cd ${0%/*}
trap cleanup EXIT
function cleanup() {
# cleanup commands
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment