Using bash is problematic on non-linux plattforms, Matthias use NetBSD.
authorMatthias Friedrich <matt@mafr.de>
Sun, 13 Apr 2003 13:38:38 +0000 (13:38 +0000)
committerChristian Schaller <uraeus@gnome.org>
Sun, 13 Apr 2003 13:38:38 +0000 (13:38 +0000)
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.

gst-autogen.sh

index f9f2ab5..213047b 100644 (file)
@@ -198,7 +198,7 @@ die_check ()
 
 autogen_options ()
 {
-  if test "x$1" == "x"; then
+  if test "x$1" = "x"; then
     return 0
   fi