summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ay
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-ay')
-rw-r--r--net/samba/patches/patch-ay44
1 files changed, 22 insertions, 22 deletions
diff --git a/net/samba/patches/patch-ay b/net/samba/patches/patch-ay
index 186955dc805..39c837b4ef0 100644
--- a/net/samba/patches/patch-ay
+++ b/net/samba/patches/patch-ay
@@ -1,31 +1,31 @@
-$NetBSD: patch-ay,v 1.1 2005/11/14 08:05:27 jlam Exp $
+$NetBSD: patch-ay,v 1.2 2007/02/11 18:39:04 tron Exp $
---- script/installswat.sh.orig 2005-10-12 13:03:44.000000000 -0400
-+++ script/installswat.sh
-@@ -84,7 +84,7 @@ if [ -d $SRCDIR../docs/htmldocs/ ]; then
+--- script/installswat.sh.orig 2007-02-04 18:59:25.000000000 +0000
++++ script/installswat.sh 2007-02-11 17:31:13.000000000 +0000
+@@ -136,7 +136,7 @@
- INSTALLDIR=$SWATDIR/help/`echo $dir | sed 's/htmldocs\///g'`
- if [ ! -d $INSTALLDIR ]; then
-- mkdir $INSTALLDIR
-+ mkdir -p $INSTALLDIR
- fi
+ INSTALLDIR="$DESTDIR/$SWATDIR/help/`echo $dir | sed 's/htmldocs\///g'`"
+ if test ! -d "$INSTALLDIR" -a "$mode" = 'install'; then
+- mkdir "$INSTALLDIR"
++ mkdir -p "$INSTALLDIR"
+ if test ! -d "$INSTALLDIR"; then
+ echo "Failed to make directory $INSTALLDIR, does $USER have privileges? "
+ exit 1
+@@ -164,7 +164,7 @@
- for f in $SRCDIR../docs/$dir/*.html; do
-@@ -96,7 +96,7 @@ if [ -d $SRCDIR../docs/htmldocs/ ]; then
-
- if [ -d $SRCDIR../docs/$dir/images/ ]; then
- if [ ! -d $INSTALLDIR/images/ ]; then
-- mkdir $INSTALLDIR/images
-+ mkdir -p $INSTALLDIR/images
- if [ ! -d $INSTALLDIR/images/ ]; then
- echo Failed to make directory $SWATDIR/help/images, does $USER have privileges?
+ if test -d "$SRCDIR../docs/$dir/images/"; then
+ if test ! -d "$INSTALLDIR/images/" -a "$mode" = 'install'; then
+- mkdir "$INSTALLDIR/images"
++ mkdir -p "$INSTALLDIR/images"
+ if test ! -d "$INSTALLDIR/images/"; then
+ echo "Failed to make directory $INSTALLDIR/images, does $USER have privileges? "
exit 1
-@@ -120,7 +120,7 @@ if [ "x$BOOKDIR" != "x" -a -f $SRCDIR../
+@@ -200,7 +200,7 @@
for d in $BOOKDIR $BOOKDIR/figs ; do
- if [ ! -d $d ]; then
+ if test ! -d "$d" -a "$mode" = 'install'; then
- mkdir $d
+ mkdir -p $d
- if [ ! -d $d ]; then
- echo Failed to make directory $d, does $USER have privileges?
+ if test ! -d "$d"; then
+ echo "Failed to make directory $d, does $USER have privileges? "
exit 1