]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - configure
Fix option parsing for the case of a value with '='.
[obsolete/notmuch-old] / configure
index 70a3c3d881da5c5c9b0244fd63f3a70adbec6b48..54d55cbacf79acaaa2609afe104b2cfe4e33914d 100755 (executable)
--- a/configure
+++ b/configure
@@ -8,7 +8,7 @@ PREFIX=/usr/local
 
 # option parsing
 for option; do
-    if [ "${option%=*}" = '--prefix' ] ; then
+    if [ "${option%%=*}" = '--prefix' ] ; then
        PREFIX="${option#*=}"
     fi
 done