From 529477bc01103558e8a0dd378aca6da196e90b50 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 16 Nov 2022 17:53:32 -0800 Subject: [PATCH] Update build script for multiple possible Hugo installs --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 75acf4e..43ab40d 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,3 @@ #!/bin/bash git pull; -/home/linuxbrew/.linuxbrew/bin/hugo && find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \; +`which hugo` && find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \;