Commit 52a7d38e authored by Sam Hocevar's avatar Sam Hocevar

* bootstrap:

    + Work around a Solaris sh issue preventing ${foo%%bar} constructs.
parent 8b501c49
#! /bin/sh #! /bin/sh
## bootstrap file for the VLC media player ## bootstrap file for the VLC media player
## $Id: bootstrap,v 1.83 2003/11/15 01:21:48 massiot Exp $ ## $Id$
## ##
## Authors: Sam Hocevar <sam@zoy.org> ## Authors: Sam Hocevar <sam@zoy.org>
...@@ -163,7 +163,7 @@ for dir in `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac` ...@@ -163,7 +163,7 @@ for dir in `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac`
do do
printf "." printf "."
mf="modules/${dir}/Modules.am" mf="modules/${dir}/Modules.am"
basedir="${dir%%\/*}" basedir="`echo "${dir}" | cut -f1 -d/`"
# automake will not recurse for make dist if we don't define SUBDIRS = . # automake will not recurse for make dist if we don't define SUBDIRS = .
subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`" subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`"
rm -f modules/${dir}/Makefile.am && cat > modules/${dir}/Makefile.am << EOF rm -f modules/${dir}/Makefile.am && cat > modules/${dir}/Makefile.am << EOF
......
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