summaryrefslogtreecommitdiff
path: root/sci-chemistry/xcrysden/files/xcrysden-1.6.2-wrapper-paths.patch
blob: 8cc8b247a61cefa0705a74e40798a31979b5b4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Ensures that wrapper scripts account for live filesystem merge.
diff --git a/sys_utils/wrappers.sh b/sys_utils/wrappers.sh
index 1fa3cc6..e078b22 100755
--- a/sys_utils/wrappers.sh
+++ b/sys_utils/wrappers.sh
@@ -5,8 +5,8 @@ do
 #!/bin/sh -f
 
 # simple wrapper to run $cmd
-XCRYSDEN_TOPDIR="$prefix/share/$xcrysden"
-XCRYSDEN_LIB_BINDIR="$prefix/lib/$xcrysden"
+XCRYSDEN_TOPDIR="/usr/share/$xcrysden"
+XCRYSDEN_LIB_BINDIR="/usr/lib/$xcrysden"
 export XCRYSDEN_TOPDIR
 export XCRYSDEN_LIB_BINDIR