You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
569 B

#!/bin/sh
# This is not for general consumption but just a simple script
# I use on my private development environment and on kernel.org
# machine to cut binary distribution material.
V=${1?'version'}
M=master.kernel.org
case `hostname` in
siamese)
scp $0 ${M}:./Distrib
cd /chroot/sarge/build/git &&
scp git-*_$V[-.]* git-core-$V.tar.gz ${M}:debian/.
exit
;;
esac
G=/pub/software/scm/git
D=$G/debian
set -x
ln $HOME/debian/git-*_$V[-.]* $D/.
ln $HOME/debian/git-core-$V.tar.gz $G/.
ln $HOME/rpms/RPMS/i386/git-*-$V-* $G/.
ln $HOME/rpms/SRPMS/git-*-$V-* $G/.