mirror of
https://github.com/samba-team/samba.git
synced 2025-10-22 07:33:16 +03:00
first public release of samba4 code
This commit is contained in:
18
source/script/revert.sh
Normal file
18
source/script/revert.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
BINDIR=$1
|
||||
shift
|
||||
|
||||
for p in $*; do
|
||||
p2=`basename $p`
|
||||
if [ -f $BINDIR/$p2.old ]; then
|
||||
echo Restoring $BINDIR/$p2.old
|
||||
mv $BINDIR/$p2 $BINDIR/$p2.new
|
||||
mv $BINDIR/$p2.old $BINDIR/$p2
|
||||
rm -f $BINDIR/$p2.new
|
||||
else
|
||||
echo Not restoring $p
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user