summaryrefslogtreecommitdiff
path: root/net/samba20/patches/patch-af
blob: 679a9308aec10a472259dae125f4dbb22ceb988f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-af,v 1.1 2001/08/03 13:46:03 jlam Exp $

--- script/installbin.sh.orig	Wed Nov 10 09:41:12 1999
+++ script/installbin.sh
@@ -30,7 +30,9 @@
    mv $BINDIR/$p2 $BINDIR/$p2.old
  fi
  cp $p $BINDIR/
+ strip $BINDIR/$p2
  chmod $INSTALLPERMS $BINDIR/$p2
+ rm -f $BINDIR/$p2.old
 
  # this is a special case, mount needs this in a specific location
  if [ $p2 = smbmount ]; then