Created
December 25, 2013 16:03
-
-
Save sigmike/8124523 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- old/acml-ifort/PKGBUILD 2013-12-18 06:41:22.000000000 +0100 | |
| +++ new/acml-ifort/PKGBUILD 2013-12-25 16:59:28.788836594 +0100 | |
| @@ -20,7 +20,7 @@ | |
| wget ${_source} | |
| mv "index.html?f=acml-5-3-1-ifort-64bit.tgz" "${srcdir}/index.html" | |
| _nonce=`grep "nonce" "${srcdir}/index.html" | awk '{print $5;}' | sed "s^value=^^g" | sed 's^"^^g'` | |
| - _f=`grep "nonce" "${srcdir}/index.html" | awk '{print $14;}' | sed "s^value=^^g" | sed 's^"^^g'` | |
| + _f=`grep "nonce" "${srcdir}/index.html" | awk '{print $14;}' | sed 's^value="^^g' | sed 's^"/>^^g'` | |
| # Request actual file using acquired variables | |
| curl -fLC - --retry 3 --retry-delay 3 -d amd_developer_central_nonce=${_nonce} \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment