Update sync.sh
This commit is contained in:
parent
2a09812147
commit
8f860142bf
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ sed -i "s|^module git\.zio\.sh/astra/telegram-join-approval-bot|module git.zio.s
|
||||||
|
|
||||||
# Fix all import references in the copied source
|
# Fix all import references in the copied source
|
||||||
echo "→ Rewriting import paths in .go files ..."
|
echo "→ Rewriting import paths in .go files ..."
|
||||||
find "$ROOT_DIR" -name '*.go' -not -path "*/telegram-join-approval-bot/telegram-join-approval-bot/*" | xargs sed -i 's|git\.zio\.sh/astra/telegram-join-approval-bot|git.zio.sh/astra/telegram-join-approval-nuzzles|g'
|
find "$ROOT_DIR" -name '*.go' -not -path "*/telegram-join-approval-nuzzles/telegram-join-approval-bot/*" | xargs sed -i 's|git\.zio\.sh/astra/telegram-join-approval-bot|git.zio.sh/astra/telegram-join-approval-nuzzles|g'
|
||||||
|
|
||||||
# ── 4. Apply string patch ────────────────────────────────────────────
|
# ── 4. Apply string patch ────────────────────────────────────────────
|
||||||
if [[ -f "$PATCH_FILE" ]]; then
|
if [[ -f "$PATCH_FILE" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue