about summary refs log tree commit diff stats
path: root/samples/lynx.bat
diff options
context:
space:
mode:
Diffstat (limited to 'samples/lynx.bat')
-rw-r--r--samples/lynx.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/samples/lynx.bat b/samples/lynx.bat
index 0b77ba4f..03f4a5db 100644
--- a/samples/lynx.bat
+++ b/samples/lynx.bat
@@ -1,12 +1,15 @@
 @echo off

-@rem $LynxId: lynx.bat,v 1.5 2018/03/14 08:42:53 tom Exp $

+@rem $LynxId: lynx.bat,v 1.6 2018/03/18 17:20:13 tom Exp $

 @rem Claudio Santambrogio

 @rem improved by loto1992@inbox.ru

 setlocal

 

 set TERM=vt100

 set HOME=%~dp0

-set TEMP=%HOME%tmp

+

+rem  normally set, but just in case..

+if "x%TEMP%"=="x" set TEMP=%HOME%tmp

+mkdir "%TEMP%"

 

 set LYNX_CFG=%HOME%lynx-demo.cfg

 set LYNX_LSS=%HOME%lynx.lss