From 3dc73a203c8737798ea12d9686ff8b48b8b5ba63 Mon Sep 17 00:00:00 2001 From: Matthias Gatto Date: Tue, 15 Oct 2024 17:00:36 +0200 Subject: [PATCH] use config from sub-scripts Signed-off-by: Matthias Gatto --- bin/osc-api-seems-valid.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/osc-api-seems-valid.sh b/bin/osc-api-seems-valid.sh index de662bc..49fd59c 100755 --- a/bin/osc-api-seems-valid.sh +++ b/bin/osc-api-seems-valid.sh @@ -1,6 +1,8 @@ #!/bin/bash # check if $1 is valide, if $2 is present, remove invalide file +shopt -s expand_aliases +source ../config.sh test=$(json-search -sn Request $1 | json-search -n properties) test_ret=$?