mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
Fix option parsing for the case of a value with '='.
To support this we need to match the longest-possible suffix and then strip the shortest-possible prefix.
This commit is contained in:
parent
2c2b31d536
commit
5022424cf3
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -8,7 +8,7 @@ PREFIX=/usr/local
|
|||
|
||||
# option parsing
|
||||
for option; do
|
||||
if [ "${option%=*}" = '--prefix' ] ; then
|
||||
if [ "${option%%=*}" = '--prefix' ] ; then
|
||||
PREFIX="${option#*=}"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue