diff options
author | Elio Maldonado <emaldona@redhat.com> | 2013-01-02 14:20:23 -0800 |
---|---|---|
committer | Elio Maldonado <emaldona@redhat.com> | 2013-01-02 14:20:23 -0800 |
commit | 666cd8c59d1b9cd5618554da00a5383bddb28f0e (patch) | |
tree | 86ee89528e471a66d54aae7291eb22968a5c90f3 /legacy-scripts/install-clients-deps.sh | |
parent | 5f87edf9f75798a7c1ca2af7fb22074676223fe4 (diff) | |
download | nssmockbuilds4fedora-666cd8c59d1b9cd5618554da00a5383bddb28f0e.tar.gz nssmockbuilds4fedora-666cd8c59d1b9cd5618554da00a5383bddb28f0e.tar.xz nssmockbuilds4fedora-666cd8c59d1b9cd5618554da00a5383bddb28f0e.zip |
Rename the shell scripts legay-sripts
Diffstat (limited to 'legacy-scripts/install-clients-deps.sh')
-rwxr-xr-x | legacy-scripts/install-clients-deps.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/legacy-scripts/install-clients-deps.sh b/legacy-scripts/install-clients-deps.sh new file mode 100755 index 0000000..5c31eb7 --- /dev/null +++ b/legacy-scripts/install-clients-deps.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Defaults +TARGET=16 +ARCH=x86_64 + +while getopts i:j: opt +do + case $opt in + i) TARGET="$OPTARG";; + j) ARCH="$OPTARG";; + ?) printf "Usage: %s: [-i dist] [-j arch]\n" $0 + exit 2;; + esac +done + +export dist=${TARGET} +export arch=${ARCH} + +cc="crypto-utils curl xulrunner"; + +for c in $cc; do + pushd ${c} + fedpkg clean + fedpkg srpm + mock -r fedora-${dist}-${arch} --copyin ${c}-*.src.rpm /tmp + mock -r fedora-${dist}-${arch} --installdeps ${c}-*.src.rpm + popd +done + + |