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
commit3db52feb1f3b2c07ce0b06ad4a7099fa6efe3fc7 (patch)
tree866dd15416c3d8554bb207709f433a87ad0c012d /packaging/Example
parentf6276724bafdb6145c0c7b565172d80cb04516ea (diff)
downloadsamba-3db52feb1f3b2c07ce0b06ad4a7099fa6efe3fc7.tar.gz
samba-3db52feb1f3b2c07ce0b06ad4a7099fa6efe3fc7.tar.bz2
samba-3db52feb1f3b2c07ce0b06ad4a7099fa6efe3fc7.zip
first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
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 5e5834a6d3..e8f5089a86 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