ginit 400 Bytes
Newer Older
Vitaly Lipatov's avatar
Vitaly Lipatov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh

# load common functions, compatible with local and installed script
#. `dirname $0`/../share/eterbuild/functions/common

#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec

if [ "$1" = "-h" ] ; then
	echo "ginit - initialize repo in git.alt for current project"
	echo "Use: ginit without parameters"
	exit 1
fi

PROJECTNAME=$(basename `pwd`)

ssh git.alt git-init-db $PROJECTNAME.git