Original commit message from CVS:
2005-06-30 Jan Schmidt <thaytan@mad.scientist.com>
* gst-autogen.sh:
Remove the old autoregen.sh if it exists before recreating it,
to prevent confusing any shell process that might be reading it
currently.
+2005-06-30 Jan Schmidt <thaytan@mad.scientist.com>
+
+ * gst-autogen.sh:
+ Remove the old autoregen.sh if it exists before recreating it,
+ to prevent confusing any shell process that might be reading it
+ currently.
+
2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/gtk-doc.m4:
# a silly hack that generates autoregen.sh but it's handy
+# Remove the old autoregen.sh first to create a new file,
+# as the current one may be being read by the shell executing
+# this script.
+if [ -f "autoregen.sh" ]; then
+ rm autoregen.sh
+fi
echo "#!/bin/sh" > autoregen.sh
echo "./autogen.sh $@ \$@" >> autoregen.sh
chmod +x autoregen.sh