From 0f0189966bca2c5eb3dfaedad68dd05e6d445168 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 23 Dec 2020 11:55:43 +0100 Subject: [PATCH] definitive fix for netlify ? --- hugo | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/hugo b/hugo index b30924d..665a60f 100755 --- a/hugo +++ b/hugo @@ -1,14 +1,5 @@ #!/bin/bash -# temporary hack -echo ">>>" -env -echo ">>>" -which python -echo ">>>" -/usr/bin/env python -echo ">>>" - set -Eeuo pipefail trap cleanup SIGINT SIGTERM ERR EXIT @@ -17,7 +8,7 @@ function cleanup() { if [ -n "${NETLIFY_BUILD_BASE:-}" ]; then # Dirty hack for netlify that don't ship the realpath command - realpath=./realpath.py + realpath=python ./realpath.py fi # On exit, remove any symbolic link in content/french that points