summaryrefslogtreecommitdiff
blob: 89f17b2e984ec53ce29d11e931eb1fa4fef8a3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/molmol b/molmol
index e774abf..9f10558 100755
--- a/molmol
+++ b/molmol
@@ -57,7 +57,7 @@ if [ $ostype = "SunOS" ]; then
 elif [ $ostype = "HP-UX" ]; then
   xdpy=/usr/contrib/bin/X11/xdpyinfo
 else
-  xdpy=/usr/bin/X11/xdpyinfo
+  xdpy=@GENTOO_PORTAGE_EPREFIX@/usr/bin/xdpyinfo
 fi
 
 printUsage () {
@@ -119,7 +119,7 @@ while [ -n "$*" ]; do
   esac
 done
 
-magictmp=/tmp/molmol_magic$$
+magictmp=@GENTOO_PORTAGE_EPREFIX@/tmp/molmol_magic$$
 
 if [ ! -d $HOME/molmol ]; then
   mkdir $HOME/molmol