1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

cosmetic fix when DESTDIR=/ (default)

This commit is contained in:
Gerald Carter -
parent 759990833e
commit cf6ac7995a
11 changed files with 20 additions and 18 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
#fist version March 2002, Herb Lewis
DATDIR=$1
DATDIR=`echo $1 | sed 's/\/\//\//g'`
SRCDIR=$2/
echo Installing dat files in $DATDIR

View File

@ -1,11 +1,13 @@
#!/bin/sh
while ( test -n "$1" ); do
if [ ! -d $1 ]; then
mkdir -p $1
DIRNAME=`echo $1 | sed 's/\/\//\//g'`
if [ ! -d $DIRNAME ]; then
mkdir -p $DIRNAME
fi
if [ ! -d $1 ]; then
if [ ! -d $DIRNAME ]; then
echo Failed to make directory $1
exit 1
fi

View File

@ -5,7 +5,7 @@
# modified to accomodate international man pages (inspired
# by Japanese edition's approach)
MANDIR=$1
MANDIR=`echo $1 | sed 's/\/\//\//g'`
SRCDIR=$2/
langs=$3

View File

@ -1,8 +1,8 @@
#!/bin/sh
INSTALLPERMS=$1
BASEDIR=$2
LIBDIR=$3
BASEDIR=`echo $2 | sed 's/\/\//\//g'`
LIBDIR=`echo $3 | sed 's/\/\//\//g'`
shift
shift
shift

View File

@ -2,7 +2,7 @@
# first version (Sept 2003) written by Shiro Yamada <shiro@miraclelinux.com>
# based on the first verion (March 2002) of installdat.sh written by Herb Lewis
MSGDIR=$1
MSGDIR=`echo $1 | sed 's/\/\//\//g'`
SRCDIR=$2/
echo Installing msg files in $MSGDIR

View File

@ -3,7 +3,7 @@
# 5 July 96 Dan.Shearer@UniSA.Edu.Au Don't hardcode script names, get from Make
INSTALLPERMS=$1
BINDIR=$2
BINDIR=`echo $2 | sed 's/\/\//\//g'`
shift
shift

View File

@ -1,7 +1,7 @@
#!/bin/sh
#first version March 1998, Andrew Tridgell
SWATDIR=$1
SWATDIR=`echo $1 | sed 's/\/\//\//g'`
SRCDIR=$2/
BOOKDIR=$SWATDIR/using_samba

View File

@ -2,10 +2,10 @@
#4 July 96 Dan.Shearer@UniSA.edu.au
INSTALLPERMS=$1
BASEDIR=$2
BINDIR=$3
LIBDIR=$4
VARDIR=$5
BASEDIR=`echo $2 | sed 's/\/\//\//g'`
BINDIR=`echo $3 | sed 's/\/\//\//g'`
LIBDIR=`echo $4 | sed 's/\/\//\//g'`
VARDIR=`echo $5 | sed 's/\/\//\//g'`
shift
shift
shift

View File

@ -6,7 +6,7 @@
# by Japanese edition's approach)
MANDIR=$1
MANDIR=`echo $1 | sed 's/\/\//\//g'`
SRCDIR=$2
langs=$3

View File

@ -2,8 +2,8 @@
#4 July 96 Dan.Shearer@UniSA.edu.au
INSTALLPERMS=$1
BASEDIR=$2
LIBDIR=$3
BASEDIR=`echo $2 | sed 's/\/\//\//g'`
LIBDIR=`echo $3 | sed 's/\/\//\//g'`
shift
shift
shift

View File

@ -2,7 +2,7 @@
# 5 July 96 Dan.Shearer@UniSA.Edu.Au - almost identical to uninstallbin.sh
INSTALLPERMS=$1
BINDIR=$2
BINDIR=`echo $2 | sed 's/\/\//\//g'`
shift
shift