summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-01 12:16:01 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-01 12:18:31 +0200
commit50162678eb467b16970a3bdeed0a477f08c4025c (patch)
treead9ed5fecc2c9c4240b69ebf5c7815a8f9da7ab9 /templates
parentd2044b1563dd50c6a26927955b767432e57e9865 (diff)
downloadlaminar-cnf-50162678eb467b16970a3bdeed0a477f08c4025c.tar.gz
laminar-cnf-50162678eb467b16970a3bdeed0a477f08c4025c.tar.bz2
laminar-cnf-50162678eb467b16970a3bdeed0a477f08c4025c.zip
Split utils to common and utils
It is beneficial to use utils also in other processes but there were parts that should only job it self include. This splits those to two separate files.
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/turris3x.run2
-rwxr-xr-xtemplates/turris4x.run2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run
index 98dfa15..1327e24 100755
--- a/templates/turris3x.run
+++ b/templates/turris3x.run
@@ -1,7 +1,7 @@
#!/bin/sh
# vim: ft=sh
set -e
-. utils
+. common
echo_stage "Get packages"
git_clone "git@cynerd.cz:openwrt-personal-pkgs" pkgs turris3x
diff --git a/templates/turris4x.run b/templates/turris4x.run
index 4c2623e..a5405b5 100755
--- a/templates/turris4x.run
+++ b/templates/turris4x.run
@@ -1,7 +1,7 @@
#!/bin/sh
# vim: ft=sh
set -e
-. utils
+. common
if [ "$V" -ge 1 ]; then
MAKE="make -j1 IS_TTY=1 BUILD_LOG=1 V=99"