Lines 3176-3182
Link Here
|
3176 |
# But there might be also an April 2005 PSDK, unfortunately MS changed |
3176 |
# But there might be also an April 2005 PSDK, unfortunately MS changed |
3177 |
# the registry entry. (we prefer the old version!?) |
3177 |
# the registry entry. (we prefer the old version!?) |
3178 |
if test -z "$PSDK_HOME"; then |
3178 |
if test -z "$PSDK_HOME"; then |
3179 |
PSDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | head -n 1` |
3179 |
PSDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | head -n 1 | $PERL -p -e 's/(?!\A)\w:.*$//g'` |
3180 |
fi |
3180 |
fi |
3181 |
# normalize if found |
3181 |
# normalize if found |
3182 |
if test -n "$PSDK_HOME"; then |
3182 |
if test -n "$PSDK_HOME"; then |