diff options
Diffstat (limited to 'math/metis-edf/files/patch-CONFIG_onmetis.in')
-rw-r--r-- | math/metis-edf/files/patch-CONFIG_onmetis.in | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/math/metis-edf/files/patch-CONFIG_onmetis.in b/math/metis-edf/files/patch-CONFIG_onmetis.in index d6671aa4ce9c..e04195c98c55 100644 --- a/math/metis-edf/files/patch-CONFIG_onmetis.in +++ b/math/metis-edf/files/patch-CONFIG_onmetis.in @@ -1,14 +1,22 @@ ---- CONFIG/onmetis.in.orig 2008-12-16 13:28:55.000000000 +0100 -+++ CONFIG/onmetis.in 2009-01-19 21:56:08.000000000 +0100 +--- CONFIG/onmetis.in.orig 2009-12-03 11:35:06.000000000 +0100 ++++ CONFIG/onmetis.in 2010-01-31 13:41:59.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#! /bin/sh # # shell-script to call METIS from CODE_ASTER # $1 : data file for METIS (numerotation) -@@ -10,9 +10,6 @@ +@@ -8,17 +8,8 @@ + # $3 : result file (default fort.85) + # # install directory - METIS_INSTALL=HOME_METIS +-set_prefix() { +- local this=`readlink -n -f $1` +- prefix=`dirname $this` +-} +- +-set_prefix $0 + METIS_INSTALL=$prefix -LD_LIBRARY_PATH=LD_LIB_PATH_VALUE:$LD_LIBRARY_PATH -export LD_LIBRARY_PATH |