fix-autogen

This commit is contained in:
Con Kolivas 2011-03-09 08:27:14 +11:00
parent 6e72b520a9
commit b8e6cf4f48

View file

@ -10,6 +10,8 @@ if test -z "$NOCONFIGURE" ; then
echo 'Configuring...' echo 'Configuring...'
cd "${bs_dir}" &> /dev/null cd "${bs_dir}" &> /dev/null
test "$?" = "0" || e=1 test "$?" = "0" || e=1
test "$cwd" != "$bs_dir" && cd "$cwd" &> /dev/null test "$cwd" != "$bs_dir" && cd "$bs_dir" &> /dev/null
./configure $@
test "$e" = "1" && exit 1 test "$e" = "1" && exit 1
cd "$cwd"
fi fi