X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/48dbf5000a8eaf6c0b521d69f5bef4b30080ecdc..413744728dffde2f9b82a3bd6f0018eefa122a32:/packages/notes-mode/NotesVars.pm diff --git a/packages/notes-mode/NotesVars.pm b/packages/notes-mode/NotesVars.pm old mode 100644 new mode 100755 index 12d491c56..da35dab1e --- a/packages/notes-mode/NotesVars.pm +++ b/packages/notes-mode/NotesVars.pm @@ -4,7 +4,7 @@ # NotesVars.pm # $Id: NotesVars.pm,v 1.8 2003/05/23 16:26:22 johnh Exp $ # -# Copyright (C) 1996 by John Heidemann. +# Copyright (C) 1996,2012 Free Software Foundation, Inc. # Comments to . # # This file is under the Gnu Public License, version 2. @@ -19,7 +19,7 @@ require 5.000; BEGIN { no strict 'vars'; # avoid %::notes $notes{'home'} = ((getpwuid($<))[7]); - my(@config) = `/home/johnh/NOTES/BIN/mkconfig perl`; + my(@config) = `"$ENV{'NOTES_BIN_DIR'}/mkconfig" perl`; die "$0: mkconfig failed\n" if ($#config == -1); eval join("", @config); unshift(@INC, $notes{'bin_dir'});