Use sed -e instead of -E

master
Koen Punt 2014-05-07 01:15:52 +02:00
parent 7f3a794d89
commit b313f62749
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -98,7 +98,7 @@ nvm_format_version() {
} }
nvm_strip_path() { nvm_strip_path() {
echo "$1" | sed -E "s#$NVM_DIR/[^/]*$2[^:]*:?##g" echo "$1" | sed -e "s#$NVM_DIR/[^/]*$2[^:]*##g" | sed -e "s/::/:/g" | sed -e "s/:$//g"
} }
nvm_binary_available() { nvm_binary_available() {