tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cvs import -> cvs add
On Wed, Jun 06, 2012 at 08:44:35PM +0900, OBATA Akio wrote:
> Then, who can update pkgsrc/misc/import.mk and pkgsrc/wip/import-packags.sh?
> I does not use `cvs' command directly nowadays, it's error-prone than such
> tools.
Perhaps something like the attached instead of the 'cvs import' part
of these scripts?
Thomas
#!/bin/sh
current=$(pwd)
last=${current##*/}
echo "(cd .. && cvs add ${last})" || exit 1
find . -type d | grep -v -e CVS -e '^\.$' | while read a
do
echo cvs add $a
done
find . -type f | grep -v -e CVS -e orig$ | while read a
do
echo cvs add $a
done
Home |
Main Index |
Thread Index |
Old Index