aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-09-11 21:09:35 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-09-13 22:16:43 +0200
commit1e311ae4561f81a669628f0b7143e3a100471596 (patch)
tree97e2127e636d56a741a0af9700a556f8904e6226 /sci-chemistry/coot/files
parentNew package, ebuild written by me (diff)
downloadsci-1e311ae4561f81a669628f0b7143e3a100471596.tar.gz
sci-1e311ae4561f81a669628f0b7143e3a100471596.tar.bz2
sci-1e311ae4561f81a669628f0b7143e3a100471596.zip
prelimary src_test fix
Diffstat (limited to 'sci-chemistry/coot/files')
-rw-r--r--sci-chemistry/coot/files/9999-test-rama.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-chemistry/coot/files/9999-test-rama.patch b/sci-chemistry/coot/files/9999-test-rama.patch
new file mode 100644
index 000000000..9693dda5e
--- /dev/null
+++ b/sci-chemistry/coot/files/9999-test-rama.patch
@@ -0,0 +1,18 @@
+Index: ligand/test-ligand.cc
+===================================================================
+--- ligand/test-ligand.cc (revision 2293)
++++ ligand/test-ligand.cc (working copy)
+@@ -324,9 +324,11 @@
+
+ void rotamer_tables() {
+
+- std::string dir = "../../coot/rama-data";
++ std::string tables_dir = COOT_DATA_DIR;
++ tables_dir += "/rama-data";
++
+ coot::rotamer_probability_tables tables;
+- tables.fill_tables(dir);
++ tables.fill_tables(tables_dir);
+
+ }
+