From f27228fc317ec8ad717beee18a0a193650addde9 Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Wed, 8 Mar 2006 21:20:43 +0000 Subject: 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. (This used to be commit 730d5ec22948c579a81137051134657043c34415) --- source3/script/installmodules.sh | 4 ++-- source3/script/uninstallmodules.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/script') diff --git a/source3/script/installmodules.sh b/source3/script/installmodules.sh index bfc1c359b5..f6e52880fe 100755 --- a/source3/script/installmodules.sh +++ b/source3/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 diff --git a/source3/script/uninstallmodules.sh b/source3/script/uninstallmodules.sh index 194435bda3..fc80565cb5 100755 --- a/source3/script/uninstallmodules.sh +++ b/source3/script/uninstallmodules.sh @@ -3,7 +3,7 @@ INSTALLPERMS=$1 DESTDIR=$2 -BASEDIR=`echo $3 | sed 's/\/\//\//g'` +prefix=`echo $3 | sed 's/\/\//\//g'` LIBDIR=`echo $4 | sed 's/\/\//\//g'` shift shift -- cgit