Commit 4ca96aed authored by Jan Schmidt's avatar Jan Schmidt

gst-autogen.sh: Remove the old autoregen.sh if it exists before recreating it,...

gst-autogen.sh: Remove the old autoregen.sh if it exists before recreating it, to prevent confusing any shell process...

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.
parent 28263064
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment