diff options
author | Lars Müller <lmuelle@samba.org> | 2006-03-08 21:20:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:11:08 -0500 |
commit | 730d5ec22948c579a81137051134657043c34415 (patch) | |
tree | 50c960bc0ae5c745a6232f8114d143e8e0e85c84 /source/script/installmodules.sh | |
parent | 170038f4cdfa51ea31b2255a020740d28dfbfba2 (diff) | |
download | samba-730d5ec22948c579a81137051134657043c34415.tar.gz samba-730d5ec22948c579a81137051134657043c34415.tar.xz samba-730d5ec22948c579a81137051134657043c34415.zip |
r14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.
BASEDIR is non of the default autoconf variables. prefix is.
Jerry1: If possible please announce this with the next release. I'll
self reply to technical.
Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
Diffstat (limited to 'source/script/installmodules.sh')
-rwxr-xr-x | source/script/installmodules.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/script/installmodules.sh b/source/script/installmodules.sh index bfc1c359b51..f6e52880fe8 100755 --- a/source/script/installmodules.sh +++ b/source/script/installmodules.sh @@ -2,14 +2,14 @@ INSTALLPERMS=$1 DESTDIR=$2 -BASEDIR=`echo $3 | sed 's/\/\//\//g'` +prefix=`echo $3 | sed 's/\/\//\//g'` LIBDIR=`echo $4 | sed 's/\/\//\//g'` shift shift shift shift -for d in $BASEDIR $LIBDIR; do +for d in $prefix $LIBDIR; do if [ ! -d $DESTDIR/$d ]; then mkdir $DESTDIR/$d if [ ! -d $DESTDIR/$d ]; then |