diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2018-10-10 14:02:43 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2018-10-10 14:02:43 +0200 |
commit | b1360126e3730f01b3c1cb7ac0362e3679c28a67 (patch) | |
tree | 469d63568e7fd302788b30a836d6026c4057c067 /repoman | |
parent | 115525a55f2665f12fa938c7bdd0ab00123172d7 (diff) |
#850: Correct an error.
Diffstat (limited to 'repoman')
-rwxr-xr-x | repoman/bin/checkrepo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repoman/bin/checkrepo b/repoman/bin/checkrepo index 3a7448a2..5b50dcda 100755 --- a/repoman/bin/checkrepo +++ b/repoman/bin/checkrepo @@ -98,7 +98,7 @@ EOT # Create new JSON file. if [ -z "$OUNAME" ]; then cat << EOT | jq . > $INFOFILE -{"directory":"$IMAGESDIR","images":[${IMAGENAME+$JSON}],"ous":[]} +{"directory":"$IMAGESDIR","images":[${IMAGENAME:+$JSON}],"ous":[]} EOT else cat << EOT | jq . > $INFOFILE |