diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-07-10 00:17:38 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-07-21 15:27:02 +0200 |
commit | 1173278f3462673dccd20b8be95cb1281a64f815 (patch) | |
tree | 8974c16c9415f84af793c130b273e38f0cbe6296 /pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch | |
parent | bbc7e18ed7ccea7ba85713f461e5017a1f27fcef (diff) | |
download | nixlib-1173278f3462673dccd20b8be95cb1281a64f815.tar nixlib-1173278f3462673dccd20b8be95cb1281a64f815.tar.gz nixlib-1173278f3462673dccd20b8be95cb1281a64f815.tar.bz2 nixlib-1173278f3462673dccd20b8be95cb1281a64f815.tar.lz nixlib-1173278f3462673dccd20b8be95cb1281a64f815.tar.xz nixlib-1173278f3462673dccd20b8be95cb1281a64f815.tar.zst nixlib-1173278f3462673dccd20b8be95cb1281a64f815.zip |
ProofGeneral: 4.3pre131011 -> 4.3pre150313
Diffstat (limited to 'pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch')
-rw-r--r-- | pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch b/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch index c733911118de..704e4b6c8c7a 100644 --- a/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch +++ b/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch @@ -7,7 +7,7 @@ diff -r c7d8bfff4c0a bin/proofgeneral if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then - # default relative to this script, otherwise PGHOMEDEFAULT - MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`" -- if [ -d "$MYDIR" ]; then +- if [ -d "$MYDIR/generic" ]; then - PGHOME="$MYDIR" - elif [ -d "$PGHOMEDEFAULT" ]; then + if [ -d "$PGHOMEDEFAULT" ]; then |