]> git.pld-linux.org Git - packages/doomsday.git/blob - doomsday-runtimedir.patch
- tabs in preamble
[packages/doomsday.git] / doomsday-runtimedir.patch
1 --- ./Src/dd_main.c~    2005-04-10 18:52:35.000000000 +0300
2 +++ ./Src/dd_main.c     2005-04-10 18:52:37.000000000 +0300
3 @@ -275,6 +275,16 @@
4  
5      DD_Verbosity();
6  
7 +#ifdef UNIX
8 +    if (getenv("HOME")) {
9 +        filename_t h;
10 +        sprintf(h, "%s/.doomsday", getenv("HOME"));
11 +        M_CheckPath(h);
12 +        Dir_MakeDir(h, &ddRuntimeDir);
13 +        userdir_ok = Dir_ChDir(&ddRuntimeDir);
14 +    }
15 +#endif
16 +
17      // The -userdir option sets the working directory.
18      if(ArgCheckWith("-userdir", 1))
19      {
This page took 0.061012 seconds and 3 git commands to generate.