diff options
author | Manfred Touron <m@42.am> | 2015-03-16 20:37:06 +0000 |
---|---|---|
committer | Manfred Touron <m@42.am> | 2015-03-16 20:37:06 +0000 |
commit | f9e7b883ae994970c6ab080548377e47f0736a3b (patch) | |
tree | 2e9202b9ba06504d8cb8b08ad85de6064bedb33b | |
parent | ensure /usr exists but don't error if it does (diff) | |
download | docker-images-f9e7b883ae994970c6ab080548377e47f0736a3b.tar.gz docker-images-f9e7b883ae994970c6ab080548377e47f0736a3b.tar.bz2 docker-images-f9e7b883ae994970c6ab080548377e47f0736a3b.zip |
Fixed parsing of latest tarball
-rwxr-xr-x | amd64-hardened/build.sh | 2 | ||||
-rw-r--r-- | amd64/build.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/amd64-hardened/build.sh b/amd64-hardened/build.sh index 6d444ea..2fe9c68 100755 --- a/amd64-hardened/build.sh +++ b/amd64-hardened/build.sh @@ -4,7 +4,7 @@ die(){ echo "$@" 1>&2; exit 1; } base_url="http://distfiles.gentoo.org/releases/amd64/autobuilds" -latest_stage3=$(curl "${base_url}/latest-stage3-amd64-hardened.txt" 2>/dev/null | grep -v '#') +latest_stage3=$(curl "${base_url}/latest-stage3-amd64-hardened.txt" 2>/dev/null | grep -v '#' | awk '{print $1}') stage3=$(basename "${latest_stage3}") [ ! -f "${stage3}" ] && xz=true || xz=false diff --git a/amd64/build.sh b/amd64/build.sh index 73ae7f8..d349467 100644 --- a/amd64/build.sh +++ b/amd64/build.sh @@ -4,7 +4,7 @@ die(){ echo "$@" 1>&2; exit 1; } base_url="http://distfiles.gentoo.org/releases/amd64/autobuilds" -latest_stage3=$(curl "${base_url}/latest-stage3-amd64.txt" 2>/dev/null | grep -v '#') +latest_stage3=$(curl "${base_url}/latest-stage3-amd64.txt" 2>/dev/null | grep -v '#' | awk '{print $1}') stage3=$(basename "${latest_stage3}") [ ! -f "${stage3}" ] && xz=true || xz=false |