File: data_path.patch

package info (click to toggle)
openmx 3.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 325,856 kB
  • ctags: 3,575
  • sloc: ansic: 152,655; f90: 2,080; python: 876; makefile: 675; sh: 25; perl: 18
file content (15 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Daniel Leidert <dleidert@debian.org>
Description: Set the data path accordingly to the Debian installation.
Forwarded: not-needed

--- a/source/Input_std.c
+++ b/source/Input_std.c
@@ -91,7 +91,7 @@
 
   input_string("System.CurrrentDirectory",filepath,"./");
   input_string("System.Name",filename,"default");
-  input_string("DATA.PATH",DFT_DATA_PATH,"../DFT_DATA13");
+  input_string("DATA.PATH",DFT_DATA_PATH,"/usr/share/openmx/DFT_DATA13");
   input_int("level.of.stdout", &level_stdout,1);
   input_int("level.of.fileout",&level_fileout,1);
   input_logical("memory.usage.fileout",&memoryusage_fileout,0); /* default=off */