aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/22_forge/files/git-shell-commands/ls
diff options
context:
space:
mode:
authorJan Sydänviita <jan@sydanviita.fi>2026-08-18 15:59:39 +0300
committerJan Sydänviita <jan@sydanviita.fi>2026-08-18 15:59:39 +0300
commite63f07385f9c67395315fe029735fe32d9b16480 (patch)
treebed59ff1d6ea7d959e618088e48e8785b2c9eadd /roles/jails/22_forge/files/git-shell-commands/ls
parent076581c53354b51dafc4d5dc7760f0c5ff03344a (diff)
Add forge jail
Diffstat (limited to 'roles/jails/22_forge/files/git-shell-commands/ls')
-rw-r--r--roles/jails/22_forge/files/git-shell-commands/ls4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/jails/22_forge/files/git-shell-commands/ls b/roles/jails/22_forge/files/git-shell-commands/ls
new file mode 100644
index 0000000..ef5d3e5
--- /dev/null
+++ b/roles/jails/22_forge/files/git-shell-commands/ls
@@ -0,0 +1,4 @@
+#!/bin/sh
+find . -maxdepth 1 -type d -name "*.git" | while read repo; do
+ basename "$repo" .git
+done | sort