do not evaluate variables when initializing config vars

Sun, 30 Nov 2025 14:05:42 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 30 Nov 2025 14:05:42 +0100
changeset 172
3ffb04ba3f41
parent 171
9e4fd0d54ade
child 173
16324bb74fb1

do not evaluate variables when initializing config vars

src/main/resources/make/configure.vm file | annotate | diff | comparison | revisions
test/configure file | annotate | diff | comparison | revisions
test/configure2 file | annotate | diff | comparison | revisions
test/make/configure.vm file | annotate | diff | comparison | revisions
--- a/src/main/resources/make/configure.vm	Sun Nov 30 13:19:24 2025 +0100
+++ b/src/main/resources/make/configure.vm	Sun Nov 30 14:05:42 2025 +0100
@@ -163,7 +163,7 @@
         #if( $var.exec )
         ${var.varName}=`${var.value}`
         #else
-        ${var.varName}="${var.value}"
+        ${var.varName}='${var.value}'
         #end
     fi
     #end
--- a/test/configure	Sun Nov 30 13:19:24 2025 +0100
+++ b/test/configure	Sun Nov 30 14:05:42 2025 +0100
@@ -150,15 +150,15 @@
     :
     if test -z "$prefix__initialized__"; then
         prefix__initialized__=1
-        prefix="/usr"
+        prefix='/usr'
     fi
     if test -z "$exec_prefix__initialized__"; then
         exec_prefix__initialized__=1
-        exec_prefix=""
+        exec_prefix=''
     fi
     if test -z "$libdir__initialized__"; then
         libdir__initialized__=1
-        libdir=""
+        libdir=''
     fi
     if test -z "$HOST__initialized__"; then
         HOST__initialized__=1
@@ -171,7 +171,7 @@
     :
     if test -z "$PWD__initialized__"; then
         PWD__initialized__=1
-        PWD="pwd"
+        PWD='pwd'
     fi
 fi
 if true \
@@ -180,7 +180,7 @@
     :
     if test -z "$PWD__initialized__"; then
         PWD__initialized__=1
-        PWD="pwd -W"
+        PWD='pwd -W'
     fi
 fi
 
--- a/test/configure2	Sun Nov 30 13:19:24 2025 +0100
+++ b/test/configure2	Sun Nov 30 14:05:42 2025 +0100
@@ -175,27 +175,27 @@
     :
     if test -z "$prefix__initialized__"; then
         prefix__initialized__=1
-        prefix="`pwd`/work"
+        prefix='`pwd`/work'
     fi
     if test -z "$exec_prefix__initialized__"; then
         exec_prefix__initialized__=1
-        exec_prefix=""
+        exec_prefix=''
     fi
     if test -z "$libdir__initialized__"; then
         libdir__initialized__=1
-        libdir=""
+        libdir=''
     fi
     if test -z "$datarootdir__initialized__"; then
         datarootdir__initialized__=1
-        datarootdir=""
+        datarootdir=''
     fi
     if test -z "$localstatedir__initialized__"; then
         localstatedir__initialized__=1
-        localstatedir="/var"
+        localstatedir='/var'
     fi
     if test -z "$libdatadir__initialized__"; then
         libdatadir__initialized__=1
-        libdatadir="$prefix/libdata"
+        libdatadir='$prefix/libdata'
     fi
     if test -z "$SRCDIR__initialized__"; then
         SRCDIR__initialized__=1
@@ -203,7 +203,7 @@
     fi
     if test -z "$TOOLKIT_HOME__initialized__"; then
         TOOLKIT_HOME__initialized__=1
-        TOOLKIT_HOME="/usr"
+        TOOLKIT_HOME='/usr'
     fi
 fi
 
--- a/test/make/configure.vm	Sun Nov 30 13:19:24 2025 +0100
+++ b/test/make/configure.vm	Sun Nov 30 14:05:42 2025 +0100
@@ -163,7 +163,7 @@
         #if( $var.exec )
         ${var.varName}=`${var.value}`
         #else
-        ${var.varName}="${var.value}"
+        ${var.varName}='${var.value}'
         #end
     fi
     #end

mercurial