Original commit message from CVS:
moving GStreamer from Bash to sh. Patch from Matthias Friedrich <matt@mafr.de>
Using bash is problematic on non-linux plattforms, Matthias use NetBSD.
Matthias message:
I appended the promised fix to autogen.sh and friends. That way, only
plain /bin/sh is needed as it is present on all Unices.
The problems were non-portable pushd/popd functions and the usage of a
'==' comparison which is non-standard in test(1). The standard is '=',
although C programmers never believe it.
-#!/bin/bash
+#!/bin/sh
# Run this to generate all the initial makefiles, etc.
DIE=0
echo
echo "+ running autogen.sh --noconfigure $@ in libs/ext/cothreads..."
-pushd libs/ext/cothreads > /dev/null
+OLDDIR=`pwd`
+cd libs/ext/cothreads
echo
./autogen.sh --noconfigure $@ || {
echo "autogen in cothreads failed."
exit 1
}
-popd > /dev/null
+cd "$OLDDIR"
echo
test -n "$NOCONFIGURE" && {