You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns false positive, which prepends the init_hooks list with IFS symbol. Which laters results in init_hooks arguments prepended with && in the beggining so there's an error that && is unexpected in line : ; && cmd ...
I think this grep should be "^${key}=" "${tmpfile}" (note the line beginning ^ expression) which also fixes the issue described above. If hooks commands contain string which match the distrobox.ini keys, there will be no false positives.
The text was updated successfully, but these errors were encountered:
If
distrobox.ini
containsinit_hooks
after thepre_init_hooks
lines, then this linedistrobox/distrobox-assemble
Line 469 in e9f9eff
returns false positive, which prepends the
init_hooks
list with IFS symbol. Which laters results in init_hooks arguments prepended with&&
in the beggining so there's an error that&&
is unexpected in line: ; && cmd ...
I think this grep should be
"^${key}=" "${tmpfile}"
(note the line beginning^
expression) which also fixes the issue described above. If hooks commands contain string which match thedistrobox.ini
keys, there will be no false positives.The text was updated successfully, but these errors were encountered: