From: Matthias Friedrich Date: Sun, 13 Apr 2003 13:38:38 +0000 (+0000) Subject: Using bash is problematic on non-linux plattforms, Matthias use NetBSD. X-Git-Tag: RELEASE_0_5_1~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0322f166e7b48ac9d305687346e7e84200cbfbae;p=platform%2Fupstream%2Fgst-common.git Using bash is problematic on non-linux plattforms, Matthias use NetBSD. Original commit message from CVS: moving GStreamer from Bash to sh. Patch from Matthias Friedrich 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. --- diff --git a/gst-autogen.sh b/gst-autogen.sh index f9f2ab5..213047b 100644 --- a/gst-autogen.sh +++ b/gst-autogen.sh @@ -198,7 +198,7 @@ die_check () autogen_options () { - if test "x$1" == "x"; then + if test "x$1" = "x"; then return 0 fi