From 7fb126731f77cd5aa01439a44103df0524e2fb84 Mon Sep 17 00:00:00 2001 From: octospacc Date: Sun, 19 Feb 2023 21:18:52 +0100 Subject: [PATCH] [Manual] Retry --- Bootstrap.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Bootstrap.sh b/Bootstrap.sh index 4741665..f20b6cd 100755 --- a/Bootstrap.sh +++ b/Bootstrap.sh @@ -10,19 +10,11 @@ tiddlywiki \ # Move the exported folder to a better location mv ./Output.tmp/\$_/OcttKB/Repo ./Repo.tmp -# Prepare the special files already present in the repo for the next step -cd ./Repo -for File in *.sh -do - mv "$File" "$File.sh.txt.sh" -done -cd .. - -# Rename all extracted scripts to have a correct extension +# Rename all extracted scripts to have a correct extension (remove .txt suffix) cd ./Repo.tmp for File in *.sh.txt do - mv "$File" "$File.sh" + echo mv "$File" "${File/.txt}" done cd .. @@ -34,4 +26,4 @@ mv ./Repo.tmp/* ./Repo/ # Move everything to the working directory and on to the next step mv ./Repo/* ./ chmod +x *.sh -./Main.sh.txt.sh +./Main.sh