Merge pull request #2 from BrandonOCasey/master

Removed echo -e for portability issues
This commit is contained in:
2014-09-08 17:05:06 +01:00

View File

@@ -99,7 +99,7 @@ stub_and_eval() {
fi
# Create the stub.
eval "$(echo -e "${cmd}() {\n __stub_call \"${cmd}\" \$@\n $2\n}")"
eval "$( printf "%s" "${cmd}() { __stub_call \"${cmd}\" \$@; $2;}")"
}