We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bdf4fb commit ac8a356Copy full SHA for ac8a356
update.sh
@@ -1,9 +1,20 @@
1
#!/bin/bash
2
+# I am really sorry for anyone who has to work with this, including myself and
3
+# Kat. - mattl
4
-# I am really sorry for anyone who has to work with this, including myself and Kat. - mattl
5
+set -o errexit
6
+set -o errtrace
7
+set -o nounset
8
-repo="https://github.com/creativecommons/creativecommons.org.git"
-reponame="cc-all-forks"
9
+trap '_es=${?};
10
+ _lo=${LINENO};
11
+ _co=${BASH_COMMAND};
12
+ echo "${0}: line ${_lo}: \"${_co}\" exited with a status of ${_es}";
13
+ exit ${_es}' ERR
14
+
15
16
+repo='https://github.com/creativecommons/creativecommons.org.git'
17
+reponame='cc-all-forks'
18
workdir="${HOME}"
19
checkoutdir="${workdir}/${reponame}"
20
resourcedir="${HOME}/magical-pony"
0 commit comments