summaryrefslogtreecommitdiffstats
path: root/finddeps.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-11-01 15:33:08 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-11-01 15:33:08 +0100
commitaaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2 (patch)
treef28082b5951313ca95959c82be1b0ad357e55290 /finddeps.in
parent7c78599a61e3652f43fce33826aef7b443590b83 (diff)
downloaddevtools-aaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2.tar.gz
devtools-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 'finddeps.in')
-rw-r--r--finddeps.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/finddeps.in b/finddeps.in
index 4651fd9..1526fb8 100644
--- a/finddeps.in
+++ b/finddeps.in
@@ -3,6 +3,8 @@
# finddeps - find packages that depend on a given depname
#
+m4_include(lib/common.sh)
+
match=$1
if [[ -z $match ]]; then
@@ -11,7 +13,7 @@ if [[ -z $match ]]; then
echo 'Find packages that depend on a given depname.'
echo 'Run this script from the top-level directory of your ABS tree.'
echo ''
- exit 0
+ exit 1
fi
find . -type d | while read d; do