aboutsummaryrefslogtreecommitdiffstats
path: root/math/mprime/files/wrapper.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'math/mprime/files/wrapper.sh.in')
-rw-r--r--math/mprime/files/wrapper.sh.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/math/mprime/files/wrapper.sh.in b/math/mprime/files/wrapper.sh.in
deleted file mode 100644
index 3276091dc06..00000000000
--- a/math/mprime/files/wrapper.sh.in
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%"
-PROGRAM="${0}"
-DIRNAME=${HOME}/.mprime
-
-if [ ! -d ${DIRNAME} ]
-then
- mkdir -p ${DIRNAME}
-fi
-
-if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
-then
- ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
-fi
-
-echo " ${*} " | grep " \-createdironly " ||
-{
- cd ${DIRNAME} &&
- echo Running under ${DIRNAME} &&
- exec ./${PROGRAM##*/} "${@}" ||
- echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
-}