diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-11-01 15:33:08 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-11-01 15:33:08 +0100 |
commit | aaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2 (patch) | |
tree | f28082b5951313ca95959c82be1b0ad357e55290 /archco.in | |
parent | 7c78599a61e3652f43fce33826aef7b443590b83 (diff) | |
download | devtools32-aaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2.tar.xz |
Move common functions to a shared file
* common.sh is included on build time
* most functions are copied from makepkg
Diffstat (limited to 'archco.in')
-rw-r--r-- | archco.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |