2009/6/1 Thomas Bohn <thomas@bohnomat.de>:
I have one package[1] in AUR which has a "_" in the original file name. When I put
source=(http://downloads.sourceforge.net/bibcursed/$pkgname_$pkgver.tgz)
in the PKGBUILD, it won't work. When I put an \ before the _ it works but on the AUR page this \ will also show up and break the link to the original file.
Thomas
If you have underscores next to variable names, shouldn't you use {} brackets? Because since underscores are accepted in bash variable names, this situation can be ambiguous. So use it like: source=(http://downloads.sourceforge.net/bibcursed/${pkgname}_${pkgver}.tgz) (And using brackets is generally a good idea, I think...) Nevertheless, probably it worth checking out the replacement of \ on AUR, I'll try when I have some time... Cheers, Greg