X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fconfigure;h=83b27c8fc16e74f6f03ff3d18894ae077629e1c0;hb=a718f7848696034f1e1b37e715fffaffafa7adad;hp=6879efc4008aeaa87bbdc3c644eedd31e4c994e6;hpb=757e8d55530954c3002b71f78d5027a222e810f7;p=melted diff --git a/src/modules/configure b/src/modules/configure index 6879efc..83b27c8 100755 --- a/src/modules/configure +++ b/src/modules/configure @@ -1,10 +1,10 @@ -#!/bin/bash +#!/bin/sh # Clean up disables if not in help mode [ "$help" != "1" ] && rm -f disable-* producers.dat filters.dat transitions.dat consumers.dat # Create the make.inc file -echo SUBDIRS = `find -type d -maxdepth 1 | grep -v CVS | grep -v "^.$" | sed 's/\.\///'` > make.inc +echo SUBDIRS = `find . -type d -maxdepth 1 | grep -v CVS | grep -v "^.$" | sed 's/\.\///'` > make.inc # Iterate through arguments for i in "$@" @@ -22,10 +22,11 @@ do if [ "$gpl" = "true" -o ! -f $i/gpl ] then [ "$help" = "0" ] && echo "Configuring modules/$i:" - pushd $i > /dev/null + olddir2=`pwd` + cd $i ./configure "$@" [ $? != 0 ] && exit 1 - popd > /dev/null + cd $olddir2 elif [ "$help" = "0" ] then touch disable-$i