summaryrefslogtreecommitdiff
path: root/packaging/Example
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-12-13 13:27:58 +0000
committerAndrew Tridgell <tridge@samba.org>1999-12-13 13:27:58 +0000
commit453a822a76780063dff23526c35408866d0c0154 (patch)
tree804feffcd5e60153e27d3ca2b007021e66e5bd0a /packaging/Example
parent054195df9b6187c663ede5cf4489499abbdc29fc (diff)
downloadsamba-453a822a76780063dff23526c35408866d0c0154.tar.gz
first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
Diffstat (limited to 'packaging/Example')
-rwxr-xr-xpackaging/Example/package-prep7
1 files changed, 3 insertions, 4 deletions
diff --git a/packaging/Example/package-prep b/packaging/Example/package-prep
index 5e5834a6d3c..e8f5089a865 100755
--- a/packaging/Example/package-prep
+++ b/packaging/Example/package-prep
@@ -7,7 +7,7 @@ tar xvf skeleton.tar
( cd /usr/local;
mv man man.orig;
mv samba samba.orig;
- DIRNOW=`pwd1`;
+ NOWDIR=`pwd`;
ln -sf $NOWDIR/usr/local/man man;
ln -sf $NOWDIR/usr/local/samba samba; )
@@ -32,9 +32,8 @@ tar cvf install.tar usr var
# Clean up original sources preserving all configured files
# Note: This will allow installers to check build options
-cd samba-X.X.X/source/bin
-rm -f *
-cd ..
+cd samba-X.X.X/source
+rm -f ../source/bin/*
make clean
cd ../..
tar cvf samba-X.X.X.tar samba-X.X.X