Closed lahwaacz closed 11 years ago
The default value of 'binlist' array was handled incorrectly. When initialized as '()', the length of array as reported by '${#binlist[@]}' was 1, not 0, so cdm exited with "* cdm: unknown flag: `()'." when used with empty (or default) config.
Now I really consider the bug fixed. See https://aur.archlinux.org/packages/cdm-git/
The default value of 'binlist' array was handled incorrectly. When initialized as '()', the length of array as reported by '${#binlist[@]}' was 1, not 0, so cdm exited with "* cdm: unknown flag: `()'." when used with empty (or default) config.