]> git.quilime.com - gabrieldunne.com-site.git/commitdiff
Fixing publish
authorGabriel Dunne <gdunne@quilime.com>
Tue, 3 Jan 2023 20:30:50 +0000 (12:30 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Tue, 3 Jan 2023 20:30:50 +0000 (12:30 -0800)
publish

diff --git a/publish b/publish
index dd226bef3128a496a8506698786864978f916832..228aed97003d43e3492a2d7c380f3d21e9a2e4f3 100755 (executable)
--- a/publish
+++ b/publish
@@ -2,7 +2,7 @@
 # set -x
 
 EXCLUDE=""
-if [ $1 = "--nomedia" ]; then
+if [ $1 ] && [ $1 = "--nomedia" ]; then
     echo "Publishing with --nomedia flag..."
     EXCLUDE="--exclude ./m"
 fi