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.
 
 
 
 
 
 

17 lines
305 B

#!/bin/sh
kup=../kup/kup
for s in git-*.sig
do
test -f "$s" &&
v=$(expr "$s" : '^git.*-\([^-]*\)\.tar\.sig$') &&
case "$v" in
*.rc[0-9]*)
dest=/pub/software/scm/git/testing/ ;;
*)
dest=/pub/software/scm/git/ ;;
esac &&
$kup --host kup.kernel.org put "${s%.sig}.gz" "$s" "$dest" || exit
done