From e47d0550628c839466b42c46c063511f6cd0fd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz=20=28admin=29?= Date: Fri, 27 Aug 2021 11:44:53 +0200 Subject: [PATCH] add git submodule-fix --- bin/git-submodule-fix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/git-submodule-fix diff --git a/bin/git-submodule-fix b/bin/git-submodule-fix new file mode 100755 index 0000000..889575a --- /dev/null +++ b/bin/git-submodule-fix @@ -0,0 +1,7 @@ +#!/bin/bash + +for arg +do + echo $arg + find . -name "`basename $arg`" | grep "$arg\$" | xargs rm -fr +done