From d96e29faa6ffa38c9576640cad1ca0f0ef645110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 29 Aug 2018 19:26:09 +0200 Subject: turris4x: fix compile_fw failure Tilda is not expanded in compile_fw. This just uses HOME instead of tilda. --- scripts/utils | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/utils b/scripts/utils index a689c12..2d549e6 100644 --- a/scripts/utils +++ b/scripts/utils @@ -11,8 +11,8 @@ templateid() { basename "$(readlink -f "$0")" | sed 's/\.run$//' } -TWORKSPACE="~/workspace/$(templateid)" -[ "$(jobid)" != "$(templateid)" ] || TWORKSPACE="~/workspace/notemplate" +TWORKSPACE="$HOME/workspace/$(templateid)" +[ "$(jobid)" != "$(templateid)" ] || TWORKSPACE="$HOME/Workspace/notemplate" ## Simple echo wrappers ######################################################### echo_stage() { @@ -82,7 +82,7 @@ git_fetch_t() { _git_fetch "$1" "$2" "$3" "$TWORKSPACE/git-mirror" } git_fetch_g() { - _git_fetch "$1" "$2" "$3" "~/workspace/git-mirror" + _git_fetch "$1" "$2" "$3" "$HOME/workspace/git-mirror" } # Clones one depth given repository with given branch/tag/hash -- cgit v1.2.3