diff -ur ooo_SRC680_m112_src.orig/config_office/configure ooo_SRC680_m112_src/config_office/configure --- ooo_SRC680_m112_src.orig/config_office/configure 2005-06-27 23:27:57.000000000 +0200 +++ ooo_SRC680_m112_src/config_office/configure 2005-06-28 06:58:39.000000000 +0200 @@ -16377,14 +16377,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 | sed 's/\x00/\x0a/g'|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/\/$//"` fi else PSDK_HOME="$with_psdk_home" diff -ur ooo_SRC680_m112_src.orig/config_office/configure.in ooo_SRC680_m112_src/config_office/configure.in --- ooo_SRC680_m112_src.orig/config_office/configure.in 2005-06-27 23:27:57.000000000 +0200 +++ ooo_SRC680_m112_src/config_office/configure.in 2005-06-28 06:59:01.000000000 +0200 @@ -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 | sed 's/\x00/\x0a/g'|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/\/$//"` fi else PSDK_HOME="$with_psdk_home"