summaryrefslogtreecommitdiffstats
path: root/archco.in
diff options
context:
space:
mode:
Diffstat (limited to 'archco.in')
-rw-r--r--archco.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/archco.in b/archco.in
index 31134f4..a1e5f96 100644
--- a/archco.in
+++ b/archco.in
@@ -1,5 +1,7 @@
#!/bin/bash
+m4_include(lib/common.sh)
+
scriptname=${0##*/}
if [ "$1" = '' ]; then
@@ -13,8 +15,7 @@ case $scriptname in
communityco)
SVNURL="svn+ssh://aur.archlinux.org/srv/svn-packages";;
*)
- echo "error: couldn't find svn url for $scriptname"
- exit 1
+ die "error: couldn't find svn url for $scriptname"
;;
esac