summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-11-24 13:13:52 +0100
committerKarel Kočí <cynerd@email.cz>2020-11-24 13:13:52 +0100
commit7b1eff5445b4a0c701727e4cc9465d92e25727ab (patch)
treea65cafb66f1b32544f6d112eaecf5af446f24e0a
parent66966fc7a97f30398bfc57258fdf7bd5385811c1 (diff)
downloadlaminar-cnf-7b1eff5445b4a0c701727e4cc9465d92e25727ab.tar.gz
laminar-cnf-7b1eff5445b4a0c701727e4cc9465d92e25727ab.tar.bz2
laminar-cnf-7b1eff5445b4a0c701727e4cc9465d92e25727ab.zip
jobs: fix queue from run files
-rwxr-xr-xjobs/alpine.run2
-rwxr-xr-xjobs/turris.run2
2 files changed, 2 insertions, 2 deletions
diff --git a/jobs/alpine.run b/jobs/alpine.run
index d84b7a3..c70966b 100755
--- a/jobs/alpine.run
+++ b/jobs/alpine.run
@@ -4,5 +4,5 @@ set -eu
cd "$(dirname "$(readlink -f "$0")")"
for job in alpine-*.run; do
- laminarc queue "$job"
+ laminarc queue "${job%\.run}"
done
diff --git a/jobs/turris.run b/jobs/turris.run
index 62d2b46..02291b5 100755
--- a/jobs/turris.run
+++ b/jobs/turris.run
@@ -17,5 +17,5 @@ else
fi
for job in $pattern; do
- laminarc queue "$job"
+ laminarc queue "${job%\.run}"
done