test should use &&
This commit is contained in:
parent
f65a331826
commit
f342046f25
@ -5,7 +5,7 @@ set -ex
|
|||||||
{{ lorax_pkg_cmd }}
|
{{ lorax_pkg_cmd }}
|
||||||
mkdir -p {{ compose_work_iso_dir }}/{{ arch }}
|
mkdir -p {{ compose_work_iso_dir }}/{{ arch }}
|
||||||
cd {{ 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 %}
|
{% else %}
|
||||||
cd /builddir
|
cd /builddir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user