aboutsummaryrefslogtreecommitdiffstats
path: root/signdll.bash
diff options
context:
space:
mode:
authorMyles Horton2017-05-08 16:13:01 -0700
committerMyles Horton2017-05-08 16:13:01 -0700
commit0068f6ae40ea39bfd683043e8452024097fff0e4 (patch)
tree2ca5dff9f1265b0e817f54a8f5b4a3c5db0a7740 /signdll.bash
parentcdae0bdf2aeae3ffb5ffe0cd2e2f83443ca9d104 (diff)
downloadsystray-0068f6ae40ea39bfd683043e8452024097fff0e4.tar.bz2
added die function
Diffstat (limited to 'signdll.bash')
-rwxr-xr-xsigndll.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/signdll.bash b/signdll.bash
index 1b0a119..7ed55d3 100755
--- a/signdll.bash
+++ b/signdll.bash
@@ -1,5 +1,10 @@
#!/bin/bash
+function die() {
+ echo $*
+ exit 1
+}
+
if [ -z "$BNS_CERT" ]
then
die "$0: Please set BNS_CERT to the bns signing certificate for windows"