summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-29 19:26:09 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-29 19:31:09 +0200
commitd96e29faa6ffa38c9576640cad1ca0f0ef645110 (patch)
tree7366f24448951752d70ff6687a10b567faf8531a /scripts
parent50e5df74f06836aed205cfc9428a4428b334df6d (diff)
downloadlaminar-cnf-d96e29faa6ffa38c9576640cad1ca0f0ef645110.tar.gz
laminar-cnf-d96e29faa6ffa38c9576640cad1ca0f0ef645110.tar.bz2
laminar-cnf-d96e29faa6ffa38c9576640cad1ca0f0ef645110.zip
turris4x: fix compile_fw failure
Tilda is not expanded in compile_fw. This just uses HOME instead of tilda.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/utils6
1 files changed, 3 insertions, 3 deletions
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