summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ab
blob: c7551e3dc0215c33a8f755f00a5e4a14ce0c725f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.24 2005/11/14 08:05:27 jlam Exp $

--- script/installbin.sh.orig	2005-10-12 13:03:44.000000000 -0400
+++ script/installbin.sh
@@ -22,11 +22,12 @@ for p in $*; do
  fi
  cp $p $BINDIR/
  chmod $INSTALLPERMS $BINDIR/$p2
+ strip $BINDIR/$p2
 
  # this is a special case, mount needs this in a specific location
  if [ $p2 = smbmount ]; then
    if [ ! -d $DESTDIR/sbin ]; then
-      mkdir $DESTDIR/sbin
+      mkdir -p $DESTDIR/sbin
    fi 
    ln -sf $BINDIR/$p2 $DESTDIR/sbin/mount.smbfs
  fi