From 2a5e6a5012a5e2aad0b834f186f7d47556c8222d Mon Sep 17 00:00:00 2001
From: e-sp <e-sp@users.noreply.github.com>
Date: Mon, 27 Feb 2023 23:54:52 +0100
Subject: [PATCH] bin(piston): Fix ./piston list-pkgs

---
 piston | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/piston b/piston
index fd83727..b67f44d 100755
--- a/piston
+++ b/piston
@@ -78,7 +78,7 @@ case $1 in
     clean-pkgs) git clean -fqXd packages ;;
     clean-repo) git clean -fqXd repo ;;
 
-    list-pkgs) find packages -depth 2 | awk -F/ '$2 && $3{ print $2 "-" $3 }' | column ;;
+    list-pkgs) find packages -maxdepth 2 | awk -F/ '$2 && $3{ print $2 "-" $3 }' | column ;;
 
     build-pkg)
         PKGSLUG="$2-$3"