summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-11-30 10:48:08 -0600
committerZach van Rijn <me@zv.io>2023-11-30 10:48:08 -0600
commita1dd68892168e0442f80a713d5be7580e760efce (patch)
tree732d0740cac900e359d6029de6bf67d9b0cb6e5d
parent10cb3140292c69451522abeff8bd8f005cf08268 (diff)
downloadsite-ng-a1dd68892168e0442f80a713d5be7580e760efce.tar.gz
site-ng-a1dd68892168e0442f80a713d5be7580e760efce.tar.bz2
site-ng-a1dd68892168e0442f80a713d5be7580e760efce.tar.xz
site-ng-a1dd68892168e0442f80a713d5be7580e760efce.zip
Fix sloppy tpyos and careless edits.
-rwxr-xr-xassets/images/polyguin.sh2
-rwxr-xr-xpublish6
2 files changed, 4 insertions, 4 deletions
diff --git a/assets/images/polyguin.sh b/assets/images/polyguin.sh
index 7497f8c..dc974f5 100755
--- a/assets/images/polyguin.sh
+++ b/assets/images/polyguin.sh
@@ -175,7 +175,7 @@ done # r
# 32x32 is GitLab
# Website uses native SVG
#
-magick convert -background none -gravity center -resize 32x32 -extent 32x32 polyguin_color.svg icons/gen_polyguin_color_favicon.ico;
+magick convert -background none -gravity center -resize 32x32 -extent 32x32 gen_polyguin_color.svg icons/gen_polyguin_color_favicon.ico;
chown 1000:1000 icons/gen_polyguin_color_favicon.ico;
#---------------------------------------------------------------
diff --git a/publish b/publish
index aebaffb..564bdb6 100755
--- a/publish
+++ b/publish
@@ -2,7 +2,7 @@
HERE=$(dirname $(readlink -f ${0}))/src;
-HTML=html;
+KEEP=html; # output directory
TEMP=$(mktemp -d);
chmod 755 ${TEMP};
@@ -13,7 +13,7 @@ SASS=0;
LOGO=0;
HTML=0;
for arg; do
- case "${ARG}" in
+ case "${arg}" in
sass) SASS=1; ;;
logo) LOGO=1; ;;
html) HTML=1; ;;
@@ -88,6 +88,6 @@ cp ${HERE}/robots.txt ${TEMP};
# publish
#
rm -fr ${HTML};
-mv ${TEMP} ${HTML};
+mv ${TEMP} ${KEEP};
fi # HTML