[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#332478: dosemu: cannot override DOSDRIVE_D environment variable



Package: dosemu
Version: 1.2.1-3
Severity: wishlist

Hi,

$DOSDRIVE_D is unconditionally set to $HOME in /usr/bin/dosemu and then 
evaluated in freedos' autoexec.bat.

A trivial change in the startup script makes it possible to override 
DOSDRIVE_D and map D: to some other location without any config file 
modifications.

Regards,

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-skua
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages dosemu depends on:
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared libraries an
ii  libx11-6           4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii  libxext6           4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte
ii  slang1             1.4.9dbs-8            The S-Lang programming library - r
ii  xbase-clients      4.3.0.dfsg.1-14sarge1 miscellaneous X clients
ii  xlibs              4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  xutils             4.3.0.dfsg.1-14sarge1 X Window System utility programs

-- debconf information:
  dosemu/renamed:
* dosemu/freedos:
  dosemu/oldconf:
--- dosemu.distrib	2004-06-24 03:09:43.000000000 +0200
+++ dosemu	2005-10-06 19:30:03.172975402 +0200
@@ -168,8 +168,10 @@
   fi
 fi
 
-DOSDRIVE_D="$HOME"
-export DOSDRIVE_D
+if [ -z "$DOSDRIVE_D" ]; then
+  DOSDRIVE_D="$HOME"
+  export DOSDRIVE_D
+fi
 
 DSIG=
 exittrap='if [ $DSIG ]; then trap - "$DSIG"; kill -s $DSIG $$; fi'

Reply to: