mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
cosmetic fix when DESTDIR=/ (default)
This commit is contained in:
parent
759990833e
commit
cf6ac7995a
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#fist version March 2002, Herb Lewis
|
#fist version March 2002, Herb Lewis
|
||||||
|
|
||||||
DATDIR=$1
|
DATDIR=`echo $1 | sed 's/\/\//\//g'`
|
||||||
SRCDIR=$2/
|
SRCDIR=$2/
|
||||||
|
|
||||||
echo Installing dat files in $DATDIR
|
echo Installing dat files in $DATDIR
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
while ( test -n "$1" ); do
|
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
|
fi
|
||||||
|
|
||||||
if [ ! -d $1 ]; then
|
if [ ! -d $DIRNAME ]; then
|
||||||
echo Failed to make directory $1
|
echo Failed to make directory $1
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# modified to accomodate international man pages (inspired
|
# modified to accomodate international man pages (inspired
|
||||||
# by Japanese edition's approach)
|
# by Japanese edition's approach)
|
||||||
|
|
||||||
MANDIR=$1
|
MANDIR=`echo $1 | sed 's/\/\//\//g'`
|
||||||
SRCDIR=$2/
|
SRCDIR=$2/
|
||||||
langs=$3
|
langs=$3
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
INSTALLPERMS=$1
|
INSTALLPERMS=$1
|
||||||
BASEDIR=$2
|
BASEDIR=`echo $2 | sed 's/\/\//\//g'`
|
||||||
LIBDIR=$3
|
LIBDIR=`echo $3 | sed 's/\/\//\//g'`
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# first version (Sept 2003) written by Shiro Yamada <shiro@miraclelinux.com>
|
# 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
|
# based on the first verion (March 2002) of installdat.sh written by Herb Lewis
|
||||||
|
|
||||||
MSGDIR=$1
|
MSGDIR=`echo $1 | sed 's/\/\//\//g'`
|
||||||
SRCDIR=$2/
|
SRCDIR=$2/
|
||||||
|
|
||||||
echo Installing msg files in $MSGDIR
|
echo Installing msg files in $MSGDIR
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# 5 July 96 Dan.Shearer@UniSA.Edu.Au Don't hardcode script names, get from Make
|
# 5 July 96 Dan.Shearer@UniSA.Edu.Au Don't hardcode script names, get from Make
|
||||||
|
|
||||||
INSTALLPERMS=$1
|
INSTALLPERMS=$1
|
||||||
BINDIR=$2
|
BINDIR=`echo $2 | sed 's/\/\//\//g'`
|
||||||
|
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#first version March 1998, Andrew Tridgell
|
#first version March 1998, Andrew Tridgell
|
||||||
|
|
||||||
SWATDIR=$1
|
SWATDIR=`echo $1 | sed 's/\/\//\//g'`
|
||||||
SRCDIR=$2/
|
SRCDIR=$2/
|
||||||
BOOKDIR=$SWATDIR/using_samba
|
BOOKDIR=$SWATDIR/using_samba
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#4 July 96 Dan.Shearer@UniSA.edu.au
|
#4 July 96 Dan.Shearer@UniSA.edu.au
|
||||||
|
|
||||||
INSTALLPERMS=$1
|
INSTALLPERMS=$1
|
||||||
BASEDIR=$2
|
BASEDIR=`echo $2 | sed 's/\/\//\//g'`
|
||||||
BINDIR=$3
|
BINDIR=`echo $3 | sed 's/\/\//\//g'`
|
||||||
LIBDIR=$4
|
LIBDIR=`echo $4 | sed 's/\/\//\//g'`
|
||||||
VARDIR=$5
|
VARDIR=`echo $5 | sed 's/\/\//\//g'`
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# by Japanese edition's approach)
|
# by Japanese edition's approach)
|
||||||
|
|
||||||
|
|
||||||
MANDIR=$1
|
MANDIR=`echo $1 | sed 's/\/\//\//g'`
|
||||||
SRCDIR=$2
|
SRCDIR=$2
|
||||||
langs=$3
|
langs=$3
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
#4 July 96 Dan.Shearer@UniSA.edu.au
|
#4 July 96 Dan.Shearer@UniSA.edu.au
|
||||||
|
|
||||||
INSTALLPERMS=$1
|
INSTALLPERMS=$1
|
||||||
BASEDIR=$2
|
BASEDIR=`echo $2 | sed 's/\/\//\//g'`
|
||||||
LIBDIR=$3
|
LIBDIR=`echo $3 | sed 's/\/\//\//g'`
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# 5 July 96 Dan.Shearer@UniSA.Edu.Au - almost identical to uninstallbin.sh
|
# 5 July 96 Dan.Shearer@UniSA.Edu.Au - almost identical to uninstallbin.sh
|
||||||
|
|
||||||
INSTALLPERMS=$1
|
INSTALLPERMS=$1
|
||||||
BINDIR=$2
|
BINDIR=`echo $2 | sed 's/\/\//\//g'`
|
||||||
|
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
Loading…
x
Reference in New Issue
Block a user