summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-07-03 13:16:10 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-07-03 13:20:20 (EDT)
commit3c017b59073bfe5ac365053c7306c90ba9911c58 (patch)
tree11d103096f4cc29fcb468c31ec836c5d298f5b89 /src
parentd758ca1028d995976351f9f1072ac34751928f30 (diff)
src/main.sh: Drop search for old .builddirstamp path
This dates back to when the executable was built at "${builddir}/src/prokit" instead of the present location of "${builddir}/prokit" (i.e. before the introduction of linking by shld).
Diffstat (limited to 'src')
-rw-r--r--src/main.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.sh b/src/main.sh
index 17cc42b..d64de0e 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -26,10 +26,7 @@ LF='
'
OPTSTRING='hV'
-if [ -f "${0%/*}/../.builddirstamp" ]; then
- in_place=true
- builddir="${0%/*}/.."
-elif [ -f "${0%/*}/.builddirstamp" ]; then
+if [ -f "${0%/*}/.builddirstamp" ]; then
in_place=true
builddir="${0%/*}"
else