[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-1115-gf493755
John Terpstra
jht at samba.org
Mon Apr 20 15:13:54 GMT 2009
The branch, master has been updated
via f493755aafacb128cb7b9148898f5ce1d02f6d69 (commit)
from e3db09cf029f70473cb0b2a6d9e9fb8035a8b5f8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f493755aafacb128cb7b9148898f5ce1d02f6d69
Author: John H Terpstra <jht at dv1000.dyn.terpstra-world.org>
Date: Mon Apr 20 10:10:20 2009 -0500
Added ability to revert to old modules for make revert.
-----------------------------------------------------------------------
Summary of changes:
source3/script/installmodules.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/script/installmodules.sh b/source3/script/installmodules.sh
index f70db00..127091d 100755
--- a/source3/script/installmodules.sh
+++ b/source3/script/installmodules.sh
@@ -29,6 +29,11 @@ mtype=`basename $LIBDIR`
for p in $*; do
p2=`basename $p`
name=`echo $p2 | sed -es/${mtype}_//`
+ echo Preserving old module as $DESTDIR/$LIBDIR/$name.old
+ if [ -f $DESTDIR/$LIBDIR/$name ]; then
+ rm -f $DESTDIR/$LIBDIR/$name.old
+ mv $DESTDIR/$LIBDIR/$name $DESTDIR/$LIBDIR/$name.old
+ fi
echo Installing $p as $DESTDIR/$LIBDIR/$name
cp -f $p $DESTDIR/$LIBDIR/$name
chmod $INSTALLPERMS $DESTDIR/$LIBDIR/$name
--
Samba Shared Repository
More information about the samba-cvs
mailing list