summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-06-14 17:49:30 +0200
committerRemi Collet <fedora@famillecollet.com>2011-06-14 17:49:30 +0200
commit18557eff2eefb34fd93959be24f1c42b9baa7c32 (patch)
treeb70767773083ef6baff28017e9acc4d1586ca2b9
parent47fba2d47bcd212c4a48ff89960ba942674b9d61 (diff)
xulrunner/firefox 5.0b6 build1
-rwxr-xr-xffxpi12
1 files changed, 10 insertions, 2 deletions
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
}