From 3c017b59073bfe5ac365053c7306c90ba9911c58 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 03 Jul 2018 13:16:10 -0400 Subject: 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). --- (limited to 'src') 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 -- cgit v0.9.1