summaryrefslogtreecommitdiff
path: root/contrib/genrpbindings
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/genrpbindings')
-rwxr-xr-xcontrib/genrpbindings4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/genrpbindings b/contrib/genrpbindings
index 224a84c..60573bf 100755
--- a/contrib/genrpbindings
+++ b/contrib/genrpbindings
@@ -34,7 +34,7 @@
$\="\n";
# set this to your rp binary
-$RATPOISON="/home/sabetts/src/ratpoison/src/ratpoison";
+$RATPOISON=$ENV{RATPOISON} || "ratpoison";
# open source file
$ACTIONS_C="../src/actions.c";
@@ -101,7 +101,7 @@ print COMMONLISP <<PREAMBLE;
(in-package :ratpoison)
-(defvar ratpoison-program "/home/sabetts/src/ratpoison/src/ratpoison")
+(defvar ratpoison-program "$RATPOISON")
(defmacro defun-ratpoison (cmd)
(let ((sym (intern (concatenate 'string "RP-" (symbol-name cmd)))))