FORUM ARCHIVED

Linux Script Bug

Discussion in 'Bugs' started by BlackRazor, Oct 16, 2011.

  1. BlackRazor

    BlackRazor Member

    Hi guys, thanks for porting the game to Linux.
    Just a little FYI: it seems the script used to launch the game (Dredmor) has a bug that causes it not to find the correct executable if the path contains a space.
    So for example if the game is in /opt/games/dungeons of dredmor the script will not find the executable, but on the other end if the game is in /opt/games/dungeons_of_dredmor then everything will work ok.
    Maybe the FindPath() function in the script isn't correctly escaping space characters in the path ?
     
  2. Derakon

    Derakon Member

    This is why you (the devs) should always enclose paths in quotation marks. "/opt/games/dungeons of dredmor" should work just fine.
     
  3. kuhchung

    kuhchung Member

    It's also why files and directories in Linux shouldn't have spaces by default! Man I hate that.