1
0
mirror of https://gitlab.com/octtspacc/OcttKB synced 2025-02-28 17:17:58 +01:00

[Manual] Retry

This commit is contained in:
octospacc 2023-02-19 21:18:52 +01:00
parent 8a4f922f99
commit 7fb126731f

@ -10,19 +10,11 @@ tiddlywiki \
# Move the exported folder to a better location # Move the exported folder to a better location
mv ./Output.tmp/\$_/OcttKB/Repo ./Repo.tmp mv ./Output.tmp/\$_/OcttKB/Repo ./Repo.tmp
# Prepare the special files already present in the repo for the next step # Rename all extracted scripts to have a correct extension (remove .txt suffix)
cd ./Repo
for File in *.sh
do
mv "$File" "$File.sh.txt.sh"
done
cd ..
# Rename all extracted scripts to have a correct extension
cd ./Repo.tmp cd ./Repo.tmp
for File in *.sh.txt for File in *.sh.txt
do do
mv "$File" "$File.sh" echo mv "$File" "${File/.txt}"
done done
cd .. cd ..
@ -34,4 +26,4 @@ mv ./Repo.tmp/* ./Repo/
# Move everything to the working directory and on to the next step # Move everything to the working directory and on to the next step
mv ./Repo/* ./ mv ./Repo/* ./
chmod +x *.sh chmod +x *.sh
./Main.sh.txt.sh ./Main.sh