ProofGeneral: 4.3pre131011 -> 4.3pre150313

This commit is contained in:
Vincent Laporte 2015-07-10 00:17:38 +02:00
parent bbc7e18ed7
commit 1173278f34
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake, enableDoc ? false }: { stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake, enableDoc ? false }:
stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
name = "ProofGeneral-4.3pre131011"; name = "ProofGeneral-4.3pre150313";
src = fetchurl { src = fetchurl {
url = http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-4.3pre131011.tgz; url = "http://proofgeneral.inf.ed.ac.uk/releases/${name}.tgz";
sha256 = "0104iy2xik5npkdg9p2ir6zqyrmdc93azrgm3ayvg0z76vmnb816"; sha256 = "1jq5ykkk14xr5qcn4kyxmi5ls0fibr0y47gfygzm1mzrfvz9aw3f";
}; };
sourceRoot = name; sourceRoot = name;

View File

@ -7,7 +7,7 @@ diff -r c7d8bfff4c0a bin/proofgeneral
if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then
- # default relative to this script, otherwise PGHOMEDEFAULT - # default relative to this script, otherwise PGHOMEDEFAULT
- MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`" - MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`"
- if [ -d "$MYDIR" ]; then - if [ -d "$MYDIR/generic" ]; then
- PGHOME="$MYDIR" - PGHOME="$MYDIR"
- elif [ -d "$PGHOMEDEFAULT" ]; then - elif [ -d "$PGHOMEDEFAULT" ]; then
+ if [ -d "$PGHOMEDEFAULT" ]; then + if [ -d "$PGHOMEDEFAULT" ]; then