more robust $TMPDIR on windows, e.g. for repository snapshot: do not depend on $TEMP_WINDOWS provided by official distribution;a
--- a/lib/scripts/getsettings Thu Aug 31 14:59:52 2023 +0200
+++ b/lib/scripts/getsettings Fri Sep 01 21:01:56 2023 +0200
@@ -27,11 +27,9 @@
then
unset INI_DIR
- if [ -n "$TEMP_WINDOWS" ]; then
- TMPDIR="$(cygpath -u "$TEMP_WINDOWS")"
- TMP="$TMPDIR"
- TEMP="$TMPDIR"
- fi
+ TMPDIR="$(cygpath -u "$LOCALAPPDATA")/Temp"
+ TMP="$TMPDIR"
+ TEMP="$TMPDIR"
if [ -z "$USER_HOME" ]; then
USER_HOME="$(cygpath -u "$USERPROFILE")"