test should use &&

This commit is contained in:
Louis Abel 2022-06-28 10:08:17 -07:00
parent f65a331826
commit f342046f25
Signed by: label
GPG Key ID: B37E62D143879B36
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -ex
{{ lorax_pkg_cmd }}
mkdir -p {{ compose_work_iso_dir }}/{{ arch }}
cd {{ compose_work_iso_dir }}/{{ arch }}
test -f {{ isoname }} || { echo "!! ISO ALREDY EXISTS !!"; exit 1; }
test -f {{ isoname }} && { echo "ERROR: ISO ALREDY EXISTS!"; exit 1; }
{% else %}
cd /builddir