mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-07 18:33:09 +02:00
One additional correction to yesterday's commit, as the 2nd solution
was compatible with CentOS but not OSX. This solution appears to be more universally compatible.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ TCL_REL_OR_ABS=TCL_DIR_REL_OR_ABS
|
||||
if [ "${TCL_REL_OR_ABS:0:1}" = "/" ]; then
|
||||
TCL_DIR=$TCL_REL_OR_ABS
|
||||
else
|
||||
TCL_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))/$TCL_REL_OR_ABS
|
||||
TCL_DIR=$(cd $(dirname ${BASH_SOURCE[0]})/$TCL_REL_OR_ABS; pwd -P)
|
||||
fi
|
||||
#
|
||||
eval ${TCL_DIR}/magicdnull -dnull -noconsole -nowrapper $mgargs <<EOF
|
||||
|
||||
@@ -18,7 +18,7 @@ TCL_REL_OR_ABS=TCL_DIR_REL_OR_ABS
|
||||
if [ "${TCL_REL_OR_ABS:0:1}" = "/" ]; then
|
||||
TCL_DIR=$TCL_REL_OR_ABS
|
||||
else
|
||||
TCL_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))/$TCL_REL_OR_ABS
|
||||
TCL_DIR=$(cd $(dirname ${BASH_SOURCE[0]})/$TCL_REL_OR_ABS; pwd -P)
|
||||
fi
|
||||
#
|
||||
eval ${TCL_DIR}/magicdnull -dnull -noconsole -nowrapper $mgargs <<EOF
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ TCL_REL_OR_ABS=TCL_DIR_REL_OR_ABS
|
||||
if [ "${TCL_REL_OR_ABS:0:1}" = "/" ]; then
|
||||
TCL_DIR=$TCL_REL_OR_ABS
|
||||
else
|
||||
TCL_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))/$TCL_REL_OR_ABS
|
||||
TCL_DIR=$(cd $(dirname ${BASH_SOURCE[0]})/$TCL_REL_OR_ABS; pwd -P)
|
||||
fi
|
||||
TKCON=true
|
||||
DNULL=
|
||||
|
||||
Reference in New Issue
Block a user