1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/cad/astk-serveur/files/patch-bin_as_run
2012-07-07 15:15:57 +00:00

18 lines
476 B
Plaintext

--- bin/as_run.orig 2011-12-20 13:33:00.000000000 +0100
+++ bin/as_run 2012-01-02 21:56:27.000000000 +0100
@@ -17,13 +17,7 @@
# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
# ==============================================================================
-set_prefix() {
- local this=`readlink -n -f $1`
- local bin=`dirname $this`
- prefix=`dirname $bin`
-}
-
-set_prefix $0
+prefix=?ASTER_ROOT?
ASTER_ROOT=$prefix
ASTER_ETC=$ASTER_ROOT/etc