proper return value checking of libtoolize dry-run refs #3021

ran into that with debian squeeze and sh.
This commit is contained in:
Michael Friedrich 2013-01-29 15:34:08 +01:00
parent a3d0c05fd8
commit 8d781bdc56
1 changed files with 1 additions and 1 deletions

View File

@ -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 ""