admin: cvs/cvsconv.sh - version that symlinks instead of moving fi...
baggins
baggins at pld-linux.org
Tue May 15 13:12:08 CEST 2007
Author: baggins Date: Tue May 15 11:12:08 2007 GMT
Module: admin Tag: HEAD
---- Log message:
- version that symlinks instead of moving files to packages/*
---- Files affected:
admin/cvs:
cvsconv.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: admin/cvs/cvsconv.sh
diff -u admin/cvs/cvsconv.sh:1.1 admin/cvs/cvsconv.sh:1.2
--- admin/cvs/cvsconv.sh:1.1 Tue May 15 13:10:32 2007
+++ admin/cvs/cvsconv.sh Tue May 15 13:12:03 2007
@@ -85,18 +85,13 @@
mkdir -p $CVSROOT/packages/$PACKAGE/Attic
for s in $sources $ICONS; do
if [ -e "$CVSROOT/SOURCES/$s,v" ] ; then
- cp -af $DEREF $CVSROOT/SOURCES/$s,v $CVSROOT/packages/$PACKAGE/
- rm -f $CVSROOT/SOURCES/$s,v
- ln -sf $CVSROOT/packages/$PACKAGE/$s,v $CVSROOT/SOURCES/$s,v
+ ln -sf $CVSROOT/SOURCES/$s,v $CVSROOT/packages/$PACKAGE/$s,v
elif [ -e "$CVSROOT/SOURCES/Attic/$s,v" ] ; then
- cp -af $DEREF $CVSROOT/SOURCES/Attic/$s,v $CVSROOT/packages/$PACKAGE/Attic/
- rm -f $CVSROOT/SOURCES/Attic/$s,v
- ln -sf $CVSROOT/packages/$PACKAGE/Attic/$s,v $CVSROOT/SOURCES/Attic/$s,v
+ ln -sf $CVSROOT/SOURCES/Attic/$s,v $CVSROOT/packages/$PACKAGE/Attic/$s,v
fi
done
- mv $CVSROOT/SPECS/$f $CVSROOT/packages/$PACKAGE/$f
- ln -s $CVSROOT/packages/$PACKAGE/$f $CVSROOT/SPECS/$f
+ ln -s $CVSROOT/SPECS/$f $CVSROOT/packages/$PACKAGE/$f
rm -f $SPECFILE
done
================================================================
---- CVS-web:
http://cvs.pld-linux.org/admin/cvs/cvsconv.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list