We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe1ce6b commit a6a3866Copy full SHA for a6a3866
1 file changed
tools/channel.sh
@@ -128,8 +128,8 @@ check() {
128
#echo "correct"
129
exit 0
130
elif [[ -d "${1}" ]] && [[ -n $(ls "${1}") ]]; then
131
- local _channel_name="$(basename "${1%/}")"
132
- if ! check_alteriso_version "${_channel}" || [[ "${opt_nochkver}" = true ]]; then
+ _channel_name="$(basename "${1%/}")"
+ if check_alteriso_version "${_channel_name}" || [[ "${opt_nochkver}" = true ]]; then
133
#echo "directory"
134
exit 1
135
else
0 commit comments