From 52a7d38eb2637a77359a5e02e225f905d833682f Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 25 Mar 2004 22:45:59 +0000 Subject: [PATCH] * bootstrap: + Work around a Solaris sh issue preventing ${foo%%bar} constructs. --- bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index 5284550718..48e51e9289 100755 --- a/bootstrap +++ b/bootstrap @@ -1,7 +1,7 @@ #! /bin/sh ## bootstrap file for the VLC media player -## $Id: bootstrap,v 1.83 2003/11/15 01:21:48 massiot Exp $ +## $Id$ ## ## Authors: Sam Hocevar @@ -163,7 +163,7 @@ for dir in `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac` do printf "." 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 = . subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`" rm -f modules/${dir}/Makefile.am && cat > modules/${dir}/Makefile.am << EOF -- 2.39.2