[SCM] Samba Shared Repository - branch v3-4-test updated -
release-4-0-0alpha7-798-ge392553
John Terpstra
jht at samba.org
Mon Apr 20 15:10:52 GMT 2009
The branch, v3-4-test has been updated
via e39255311a61897c53e00cc27df65790f83e132b (commit)
from c8cc6da0ab4441ce7b22cf00eed05290e91530c4 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit e39255311a61897c53e00cc27df65790f83e132b
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