fix(syntax): missing && (closes #55)
This commit is contained in:
parent
7b9586ad30
commit
d46010ba7b
|
@ -379,7 +379,7 @@ function check_wanted_programs() {
|
||||||
program="${tuple%%=*}"
|
program="${tuple%%=*}"
|
||||||
checkfile=""
|
checkfile=""
|
||||||
[[ "$tuple" == *=* ]] \
|
[[ "$tuple" == *=* ]] \
|
||||||
checkfile="${tuple##*=}"
|
&& checkfile="${tuple##*=}"
|
||||||
if ! has_program "${program#"?"}" "$checkfile"; then
|
if ! has_program "${program#"?"}" "$checkfile"; then
|
||||||
if [[ "$program" == "?"* ]]; then
|
if [[ "$program" == "?"* ]]; then
|
||||||
missing_wanted+=("${program#"?"}")
|
missing_wanted+=("${program#"?"}")
|
||||||
|
|
Loading…
Reference in New Issue