forked from Annosoft/cvs2git-wrap
-
Notifications
You must be signed in to change notification settings - Fork 2
/
cvs2git
executable file
·29 lines (25 loc) · 947 Bytes
/
cvs2git
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh
# This is a wrapper script to set the install path (I use v2.4.0) and
# run the program there
#
#
# To get my installed copy, I did something like
#
# wget http://cvs2svn.tigris.org/files/documents/1462/49237/cvs2svn-2.4.0.tar.gz
# tar zxvf cvs2svn-2.4.0.tar.gz
# mv cvs2svn-2.4.0 ~/programs/cvs2svn-2.4.0
#
# # or you can do:
# svn checkout http://cvs2svn.tigris.org/svn/cvs2svn
# # actually it looks like I used "git-svn clone"
# cd cvs2svn
# ...get on the 2.4.0 release
#
# We do not bother building the library since it works if we point directly at the decompressed dir
: ${CVS2SVN_INST:="$HOME/programs/cvs2svn-2.4.0"}
if [ ! -d $CVS2SVN_INST ]; then
echo -e "cvs2svn: install expected in\n $CVS2SVN_INST\n but not found.\n\n Please point CVS2SVN_INST at your cvs2svn DESTDIR - it should contain bin/cvs2git ." >&2
exit 1
fi
export PYTHONPATH="$CVS2SVN_INST:$PYTHONPATH"
exec $CVS2SVN_INST/cvs2git $*