From c223ec68d616195df49e3b797d2d8c853bcdcbe8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Dec 2015 21:34:45 -0500 Subject: prokit: Support placement in top build directory --- 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='' -- cgit v0.9.1