aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/ccp4-apps/files/6.1.2-fix-setup-bash-incompatibility.patch')
-rw-r--r--sci-chemistry/ccp4-apps/files/6.1.2-fix-setup-bash-incompatibility.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-chemistry/ccp4-apps/files/6.1.2-fix-setup-bash-incompatibility.patch b/sci-chemistry/ccp4-apps/files/6.1.2-fix-setup-bash-incompatibility.patch
new file mode 100644
index 000000000..d98f54cdb
--- /dev/null
+++ b/sci-chemistry/ccp4-apps/files/6.1.2-fix-setup-bash-incompatibility.patch
@@ -0,0 +1,11 @@
+--- ccp4-6.0.99e.orig/include/ccp4.setup-bash 2008-07-31 10:37:22.000000000 -0700
++++ ccp4-6.0.99e/include/ccp4.setup-bash 2008-07-31 12:47:14.000000000 -0700
+@@ -181,7 +181,7 @@
+
+ #Python path for the subprocess fixed module
+
+-if ($ccp4_first_in_path) then
++if [ $ccp4_first_in_path -eq 1 ]; then
+ setenv PYTHONPATH ${CCP4}/share/python:${PYTHONPATH}
+ else
+ setenv PYTHONPATH ${PYTHONPATH}:${CCP4}/share/python