diff options
author | ILYA Khlopotov <[email protected]> | 2014-04-15 08:30:37 -0700 |
---|---|---|
committer | ILYA Khlopotov <[email protected]> | 2014-04-15 08:30:37 -0700 |
commit | ad2b7d33d323db893de1f3ffb0aad47924540c4b (patch) | |
tree | 74dba765734a195a622bb24a517d0ec4b6f10261 /kerl | |
parent | ddf335067ec0c33cf2124782c5e11fa83c0d75d6 (diff) | |
download | kerl-ad2b7d33d323db893de1f3ffb0aad47924540c4b.tar.gz kerl-ad2b7d33d323db893de1f3ffb0aad47924540c4b.tar.bz2 kerl-ad2b7d33d323db893de1f3ffb0aad47924540c4b.zip |
Fix order of sed commands in the pipeline when we return list of releases
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |