Changeset 80222


Ignore:
Timestamp:
Jul 7, 2011, 7:29:59 AM (9 years ago)
Author:
jmr@…
Message:

apparently bash needs an extra eval to expand both a variable and a tilde

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r80220 r80222  
    336336                # Set Tcl package directory to ~/Library/Tcl
    337337            AC_MSG_CHECKING(for Tcl package directory)
    338                 ac_cv_c_tclpkgd=`echo ~$DSTUSR/Library/Tcl`
     338                ac_cv_c_tclpkgd=`eval echo ~$DSTUSR/Library/Tcl`
    339339            # Convert to a native path and substitute into the output files.
    340340            PACKAGE_DIR_NATIVE=`${CYGPATH} ${ac_cv_c_tclpkgd}`
     
    647647                            fi
    648648                        elif test "$path" = "~/Library/Tcl"; then
    649                             ac_cv_c_tclpkgd=`echo ~$DSTUSR/Library/Tcl`
     649                            ac_cv_c_tclpkgd=`eval echo ~$DSTUSR/Library/Tcl`
    650650                            break
    651651                        fi
  • trunk/base/configure

    r80220 r80222  
    77437743            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl package directory" >&5
    77447744$as_echo_n "checking for Tcl package directory... " >&6; }
    7745                 ac_cv_c_tclpkgd=`echo ~$DSTUSR/Library/Tcl`
     7745                ac_cv_c_tclpkgd=`eval echo ~$DSTUSR/Library/Tcl`
    77467746            # Convert to a native path and substitute into the output files.
    77477747            PACKAGE_DIR_NATIVE=`${CYGPATH} ${ac_cv_c_tclpkgd}`
     
    92069206                            fi
    92079207                        elif test "$path" = "~/Library/Tcl"; then
    9208                             ac_cv_c_tclpkgd=`echo ~$DSTUSR/Library/Tcl`
     9208                            ac_cv_c_tclpkgd=`eval echo ~$DSTUSR/Library/Tcl`
    92099209                            break
    92109210                        fi
Note: See TracChangeset for help on using the changeset viewer.