Hi,
what's the purpose of quotation marks around `$prefix`?
configure.in:
166
INSTDIR='${prefix}'"/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.app/Contents/MacOS"
168
INSTDIR='${prefix}'"/grass-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.${GRASS_VERSION_RELEASE}"
the
Martin Landa wrote:
> what's the purpose of quotation marks around `$prefix`?
>
> configure.in:
>
>166
> INSTDIR='${prefix}'"/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.app/Contents/MacOS"
>168
> INSTDIR='${prefix}'"/grass-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINO
Hi,
2011/10/25 Glynn Clements :
> To prevent ${prefix} from being expanded in the resulting
> Platform.make file.
thanks for the clarification.
>> the result is
>>
>> Installation directory: ${prefix}/grass-7.0.svn
>>
>> which is not really informative.
>>
>> I would suggest to remove thes
Martin Landa wrote:
> OK, change bellow should harmless, right?
I would prefer to just expand $INSTDIR:
--- configure.in~
+++ configure.in
@@ -1914,12 +1914,14 @@
USE_TOGL="1"
fi
+INSTDIR_X=`eval echo "\"$INSTDIR\""`
+
LOC_MSG()
LOC_MSG([GRASS is now configured for: ${host}])
LOC_MS