From 18557eff2eefb34fd93959be24f1c42b9baa7c32 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Jun 2011 17:49:30 +0200 Subject: xulrunner/firefox 5.0b6 build1 --- ffxpi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ffxpi') diff --git a/ffxpi b/ffxpi index 950c25a..5711caa 100755 --- a/ffxpi +++ b/ffxpi @@ -65,8 +65,16 @@ donexpi() { tar cvjf /home/rpmbuild/SPECS/remirepo/firefox4/firefox-langpacks-trunk.tar.bz2 \ --exclude tmp firefox-langpacks else - echo "Création de /home/rpmbuild/SPECS/remirepo/firefox/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2" - tar cvjf /home/rpmbuild/SPECS/remirepo/firefox4/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2 \ + case $1 in + 5*) dest=firefox5 + ;; + 4*) dest=firefox4 + ;; + *) dest=firefox + ;; + esac + echo "Création de /home/rpmbuild/SPECS/remirepo/$dest/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2" + tar cvjf /home/rpmbuild/SPECS/remirepo/$dest/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2 \ --exclude tmp firefox-langpacks fi } -- cgit