Skip to content

Commit

Permalink
projects/refresh-ghc-bin.bash: pick sane defaults for default arch an…
Browse files Browse the repository at this point in the history
…d stage3 URL

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information
Sergei Trofimovich committed Sep 7, 2013
1 parent 04a5c7e commit a968c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/refresh-ghc-bin.bash
Expand Up @@ -63,8 +63,8 @@ while [[ ${#@} -gt 0 ]]; do
shift
done

[[ -z ${target_arch} ]] && die "--target-arch is not specified"
[[ -z ${stage3_url} ]] && die "--stage3-url is not specified"
[[ -z ${target_arch} ]] && target_arch=$(portageq envvar ARCH)
[[ -z ${stage3_url} ]] && die stage3_url=http://distfiles.gentoo.org/releases/${target_arch}/autobuilds/latest-stage3-${target_arch}.txt

i "target ARCH: ${target_arch}"
i "stage3 URL: ${stage3_url}"
Expand Down

0 comments on commit a968c1e

Please sign in to comment.