FS#25210 - Source list breaks on the web interface when shell scripting uses replacements
Attached to Project:
AUR web interface
Opened by Kyle Fuller (kylef) - Friday, 22 July 2011, 00:55 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 05 February 2014, 10:54 GMT
Opened by Kyle Fuller (kylef) - Friday, 22 July 2011, 00:55 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 05 February 2014, 10:54 GMT
|
Details
You can find an example of this on
https://aur.archlinux.org/packages.php?ID=16626
Note, the source shows "http://github.com/downloads/zfsonlinux/spl/spl-0.6.0_rc5//_/-}.tar.gz". The package shows "source=(http://github.com/downloads/zfsonlinux/spl/spl-${pkgver//_/-}.tar.gz)". I have written a patch which can be found on my github repository for aur (git://github.com/kylef/aur.git), commit "1f6a4649a2d14f7b714568361a044a2c74dece23" on my "variables" branch. https://github.com/kylef/aur/commit/1f6a4649a2d14f7b714568361a044a2c74dece23 There is one flaw with this, is that $foo-bla will be a variable called "foo-bla", whereas before it would just be "foo". I couldn't find a easy solution to check this. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Wednesday, 05 February 2014, 10:54 GMT
Reason for closing: Won't fix
Additional comments about closing: See FS#15043 .
Wednesday, 05 February 2014, 10:54 GMT
Reason for closing: Won't fix
Additional comments about closing: See
FS#15043. There is no way to do this properly - your patch looks like one of the best workarounds/hacks I've seen so far, tho :p I'll leave this open for now.The listed source url is: https://python2-libarchive//2/}.googlecode.com/files/python2-libarchive//2/}-3.0.4_5//_/-}.tar.gz