summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/prokit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prokit.sh b/src/prokit.sh
index 5cfdb53..81084b9 100644
--- a/src/prokit.sh
+++ b/src/prokit.sh
@@ -34,6 +34,9 @@ OPTSTRING='hV'
if [ -f "${0%/*}/../.builddirstamp" ]; then
in_place=true
builddir="${0%/*}/.."
+elif [ -f "${0%/*}/.builddirstamp" ]; then
+ in_place=true
+ builddir="${0%/*}"
else
in_place=false
builddir=''