aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorILYA Khlopotov <[email protected]>2014-04-15 08:30:37 -0700
committerILYA Khlopotov <[email protected]>2014-04-15 08:30:37 -0700
commitad2b7d33d323db893de1f3ffb0aad47924540c4b (patch)
tree74dba765734a195a622bb24a517d0ec4b6f10261
parentddf335067ec0c33cf2124782c5e11fa83c0d75d6 (diff)
downloadkerl-ad2b7d33d323db893de1f3ffb0aad47924540c4b.tar.gz
kerl-ad2b7d33d323db893de1f3ffb0aad47924540c4b.tar.bz2
kerl-ad2b7d33d323db893de1f3ffb0aad47924540c4b.zip
Fix order of sed commands in the pipeline when we return list of releases
-rwxr-xr-xkerl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerl b/kerl
index 6a2112e..b838028 100755
--- a/kerl
+++ b/kerl
@@ -129,8 +129,8 @@ get_releases()
curl -L -s $ERLANG_DOWNLOAD_URL/ | \
sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\/download\/otp_src_([-0-9A-Za-z_.]+)\.tar\.gz\">.*$/\1/' \
-e '/^R1|^[0-9]/!d' | \
- sed -e "s/^R\(.*\)/\1:R\1/" | \
- sed -e "s/\([^:]*\)/\1:\1/" | sort | cut -d':' -f2
+ sed -e "s/\([^:]*\)/\1:\1/" | \
+ sed -e "s/^R\(.*\)/\1:R\1/" | sort | cut -d':' -f2
}
update_checksum_file()