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.
 
 
 
 
 
 

28 lines
614 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-$V.tar.gz ${M}:debian/.
exit
;;
esac
G=/pub/software/scm/git
D=$G/debian
set -x
mkdir -p $G/RPMS/i386 $G/RPMS/SRPMS
ln $HOME/debian/git-*_$V[-.]* $D/.
ln $HOME/debian/git-$V.tar.gz $G/.
ln $HOME/rpms/RPMS/i386/git*-$V-* $G/RPMS/i386/.
ln $HOME/rpms/SRPMS/git-$V-* $G/RPMS/SRPMS/.