Fix shipping of Debs in Meta/Distrib
authorJunio C Hamano <junkio@cox.net>
Sat, 5 Nov 2005 20:40:25 +0000 (12:40 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 5 Nov 2005 20:40:25 +0000 (12:40 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Distrib

diff --git a/Distrib b/Distrib
index 8e6afea..0a51b38 100755 (executable)
--- a/Distrib
+++ b/Distrib
@@ -10,7 +10,7 @@ case `hostname` in
 siamese)
        scp $0 ${M}:./Distrib
        cd /chroot/sarge/build/git &&
-       scp git-*_$V-*.deb git-core-$V.tar.gz ${M}:debian/.
+       scp git-*_$V[-.]* git-core-$V.tar.gz ${M}:debian/.
        exit
        ;;
 esac
@@ -20,7 +20,7 @@ D=$G/debian
 
 set -x
 
-ln $HOME/debian/git-*_$V-* $D/.
+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/.