]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- need patch to run
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 3 Jul 2007 13:18:13 +0000 (13:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.sh -> 1.20

adapter.sh

index b012c2f7a0d15047008eba70f65e87363d596174..4a90576f89f10d73507f111b3c3ad3bba18e8574 100644 (file)
@@ -34,6 +34,11 @@ if [ ! -x /usr/bin/getopt ]; then
        exit 1
 fi
 
+if [ ! -x /usr/bin/patch ]; then
+       echo >&1 "You need to install patch to use adapter"
+       exit 1
+fi
+
 t=`getopt -o hsmda --long help,sort,sort-br,no-macros,skip-macros,skip-desc,skip-defattr -n "$self" -- "$@"` || exit $?
 eval set -- "$t"
 
This page took 0.29956 seconds and 4 git commands to generate.