Commit 500642f
fix script syntax
[ $osname !~ rhcos|fedora-coreos ]
is not valid shell, !~ will resolve to the last entry in the shell
history using "~". There is no match for saying NOT regex.
Failure from the logs:
custom-coreos-disk-images.sh: line 82: [: missing `]'
custom-coreos-disk-images.sh: line 82: fedora-coreos: command not found
Given we just have two values use two normal != conditions to match.
Signed-off-by: Paul Holzinger <[email protected]>1 parent e14cbea commit 500642f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments