Trim Dotfile line before attempting to parse it

This commit is contained in:
2013-07-01 12:20:35 +02:00
parent b42f3c0938
commit d933bdc77e

View File

@@ -81,7 +81,7 @@ parse-dotfile-default_action-option() {
} }
parse-dotfile-line() { parse-dotfile-line() {
local line="$1" local line="$(trim "$1")"
local dotfile="$DOTFILE" local dotfile="$DOTFILE"
if [ -n "$2" ]; then dotfile="$2"; fi if [ -n "$2" ]; then dotfile="$2"; fi