FS#35813 - Bash parameter substitution not supported by parser

Attached to Project: AUR web interface
Opened by Phil Schaf (flying-sheep) - Sunday, 16 June 2013, 10:44 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 16 June 2013, 19:25 GMT
Task Type Bug Report
Category PKGBUILD Parser
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

sometimes it’s useful to remove file extensions or other parts of a path, or extract e.g. the major version out of $pkgver.

that’s easily possible using bash parameter substitution, but breaks the package listing of the packages doing it, e.g.:
https://aur.archlinux.org/packages/glib2-ubuntu/
which does ${pkgver%.*} to remove the micro version (e.g. it yields "2.37" for a $pkgver set to "2.37.1")

doc:
http://tldp.org/LDP/abs/html/parameter-substitution.html
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 16 June 2013, 19:25 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#25210 

Loading...