Index: config_office/configure.in =================================================================== RCS file: /cvs/tools/config_office/configure.in,v retrieving revision 1.126 diff -u -r1.126 configure.in --- config_office/configure.in 21 Jun 2005 10:13:47 -0000 1.126 +++ config_office/configure.in 28 Jun 2005 13:21:57 -0000 @@ -3176,14 +3176,14 @@ # But there might be also an April 2005 PSDK, unfortunately MS changed # the registry entry. (we prefer the old version!?) if test -z "$PSDK_HOME"; then - PSDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | head -n 1` + PSDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | tr '\000' '\n' | head -n 1` fi # normalize if found if test -n "$PSDK_HOME"; then PSDK_HOME=`cygpath -d "$PSDK_HOME"` PSDK_HOME=`cygpath -u "$PSDK_HOME"` # The 2005 PSDK has a trailing backslash - PSDK_HOME=`echo $PSDK_HOME | $SED -n "s/\/$//p"` + PSDK_HOME=`echo $PSDK_HOME | $SED 's/\/$//p'` fi else PSDK_HOME="$with_psdk_home"