]> granicus.if.org Git - icinga2/commitdiff
proper return value checking of libtoolize dry-run refs #3021
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 29 Jan 2013 14:34:08 +0000 (15:34 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 29 Jan 2013 14:34:08 +0000 (15:34 +0100)
ran into that with debian squeeze and sh.

autogen.sh

index 52488df95678bbb0e048eae96744749af2aac37e..fe91b7e44a9db95f71c89d78168fbfa9e9b7714c 100755 (executable)
@@ -127,7 +127,7 @@ esac
 
 # verify that libtool-ltdl-devel is installed
 echo "Running libtoolize dry-run..."
-if ! libtoolize --dry-run --quiet --copy; then
+if ! `libtoolize --dry-run --quiet --copy` ; then
   echo ""
   echo "**Error**: libtoolize cannot detect necessary files."
   echo ""