summaryrefslogtreecommitdiff
path: root/gst-autogen.sh
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2005-06-03 16:38:53 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2005-06-03 16:38:53 +0000
commit495d6e30b3e513aebbc98467707c609c49ea654d (patch)
tree31bea9a859b557e8d6520d74c4b0b7f83cb6c30c /gst-autogen.sh
parent67b7e6c0db99415e0440d0c576495641b53e976a (diff)
create autoregen.sh *before* shifting the options
Original commit message from CVS: create autoregen.sh *before* shifting the options
Diffstat (limited to 'gst-autogen.sh')
-rw-r--r--gst-autogen.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/gst-autogen.sh b/gst-autogen.sh
index 1761fd4..e2df60f 100644
--- a/gst-autogen.sh
+++ b/gst-autogen.sh
@@ -195,6 +195,11 @@ autogen_options ()
return 0
fi
+ # a silly hack that generates autoregen.sh but it's handy
+ echo "#!/bin/sh" > autoregen.sh
+ echo "./autogen.sh $@ \$@" >> autoregen.sh
+ chmod +x autoregen.sh
+
while test "x$1" != "x" ; do
optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
case "$1" in
@@ -265,12 +270,6 @@ autogen_options ()
esac
done
- # a silly hack that generates autoregen.sh but it's handy
- echo "#!/bin/sh" > autoregen.sh
- echo "./autogen.sh $@ \$@" >> autoregen.sh
- chmod +x autoregen.sh
-
-
for arg do CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT $arg"; done
if test ! -z "$CONFIGURE_EXT_OPT"
then