Skip to content

Commit

Permalink
Update scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Dec 25, 2022
1 parent ee367ce commit 69c47d6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/brondoc.ctr
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ talen elk: { :nummer :taal

taalregister toevoegen: regel.
☞ commando ≔
“mkdir server/docs/🠶taal”.
“mkdir -p server/docs/🠶taal”.
commando 🠶taal: taal.

Programma opdrachtregel: commando.
Expand Down
23 changes: 9 additions & 14 deletions misc/downloadmaker.sh
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
V="095"
for FILE in $(ls downloads/linux)
for FILE in $(ls downloads/Linux)
do
echo "<li><a href=\"/downloads/iso/linux/${FILE}\">${FILE}</a></li>"
echo "<li><a href=\"/downloads/iso${V}/Linux/${FILE}\">${FILE}</a></li>"
done
for FILE in $(ls downloads/windows)
for FILE in $(ls downloads/Windows32)
do
echo "<li><a href=\"/downloads/iso/windows/${FILE}\">${FILE}</a></li>"
echo "<li><a href=\"/downloads/iso${V}/Windows32/${FILE}\">${FILE}</a></li>"
done
for FILE in $(ls downloads/OpenBSD)
do
echo "<li><a href=\"/downloads/iso/OpenBSD/${FILE}\">${FILE}</a></li>"
echo "<li><a href=\"/downloads/iso${V}/OpenBSD/${FILE}\">${FILE}</a></li>"
done
for FILE in $(ls downloads/windows32)
for FILE in $(ls downloads/Windows64)
do
echo "<li><a href=\"/downloads/iso${V}/windows32/${FILE}\">${FILE}</a></li>"
echo "<li><a href=\"/downloads/iso${V}/Windows64/${FILE}\">${FILE}</a></li>"
done
for FILE in $(ls downloads/windows)
for FILE in $(ls downloads/Darwin)
do
echo "<li><a href=\"/downloads/iso${V}/windows/${FILE}\">${FILE}</a></li>"
echo "<li><a href=\"/downloads/iso${V}/Darwin/${FILE}\">${FILE}</a></li>"
done
for FILE in $(ls downloads/Haiku)
do
echo "<li><a href=\"/downloads/iso${V}/Haiku/${FILE}\">${FILE}</a></li>"
done
for FILE in $(ls downloads/Darwin)
do
echo "<li><a href=\"/downloads/iso${V}/Darwin/${FILE}\">${FILE}</a></li>"
done

2 changes: 1 addition & 1 deletion misc/isopackdarwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ do
#Copy license
cp ../LICENSE /tmp/dist/
#Copy binary
cp ../bin/darwin/ctr${ISO} /tmp/dist/bin/ctr${ISO}
cp ../bin/Darwin/ctr${ISO} /tmp/dist/bin/ctr${ISO}
#Copy examples
cp ../examples/${ISO}/* /tmp/dist/examples/
#Copy font
Expand Down
2 changes: 1 addition & 1 deletion misc/isopackhaiku.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ do
#Copy license
cp ../LICENSE /tmp/dist/
#Copy binary
cp ../bin/haiku/ctr${ISO} /tmp/dist/bin/ctr${ISO}
cp ../bin/Haiku/ctr${ISO} /tmp/dist/bin/ctr${ISO}
#Copy examples
cp ../examples/${ISO}/* /tmp/dist/examples/
#Copy font
Expand Down
4 changes: 2 additions & 2 deletions misc/isopackobsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ do
#Copy license
cp ../LICENSE /tmp/dist/
#Copy binary
cp ../bin/openbsd/ctr${ISO} /tmp/dist/bin/ctr${ISO}
cp ../bin/OpenBSD/ctr${ISO} /tmp/dist/bin/ctr${ISO}
#Copy examples
cp ../examples/${ISO}/* /tmp/dist/examples/
#Copy font
Expand All @@ -25,5 +25,5 @@ do
#Archive
tar cvzf /tmp/citrine${V}-openbsd-${ISO}.tar.gz -C /tmp dist
#Sign
signify -Sz -s keys/privatekey.sec -m /tmp/citrine${V}-openbsd-${ISO}.tar.gz -x downloads/OpenBSD/citrine${V}-openbsd-${ISO}.tgz
signify-openbsd -Sz -s keys/privatekey.sec -m /tmp/citrine${V}-openbsd-${ISO}.tar.gz -x downloads/OpenBSD/citrine${V}-openbsd-${ISO}.tgz
done

0 comments on commit 69c47d6

Please sign in to comment.