mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-02-28 17:17:58 +01:00
[Manual] Retry
This commit is contained in:
parent
8a4f922f99
commit
7fb126731f
14
Bootstrap.sh
14
Bootstrap.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user