shake
minimal build system that generates Ninja build files
git clone https://9o.is/git/shake.git
commit c18eb89941558e99a211e3b0de90db76c75faa53 parent c534037e346139d84868721efa671278bdc94ac8 Author: Jul <jul@9o.is> Date: Mon, 9 Mar 2026 22:46:13 +0800 fix recursive loop finding root dir Diffstat:
| M | shake | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shake b/shake @@ -274,7 +274,7 @@ fi PWD="$(pwd)" ROOTDIR="$PWD" while [ ! -d "$ROOTDIR/$BUILDDIR" ]; do - if [ "$ROOTDIR" = '/' ]; then + if [ ! "$ROOTDIR" ]; then ROOTDIR="$(pwd)" break fi