From f1ddc12b68b4e4c8087962de25260470e6df2bea Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Tue, 8 Sep 2026 18:27:39 -0700 Subject: Add tuxanci2 files --- scripts/replace.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 scripts/replace.sh (limited to 'scripts/replace.sh') diff --git a/scripts/replace.sh b/scripts/replace.sh deleted file mode 100755 index 7912c72..0000000 --- a/scripts/replace.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# '@' - this char is prohibited to use -oldtext="$1" -newtext="$2" - -GoThroughDir() { - for D in $1*; do - if [ -d $D ] && [ "$D" == "./.git" ]; then - continue - elif [ -d $D ] && [ "$D" == "./build" ]; then - continue - elif [ -d $D ]; then - GoThroughDir $D/ - elif [ "$D" == "$0" ]; then - continue - else - sed -i -e "s@$oldtext@$newtext@" $D - fi - done -} - -GoThroughDir ./ - -grep -iHr "$oldtext" ./ | grep -v .git/ -- cgit v1.2.3