bug for linux fixed

pull/10/head
sobolevn 8 years ago
parent 657feee690
commit d6cb27b5dd

@ -2,12 +2,12 @@
function __replace_in_file_linux {
sed -i.bak -c "s/^\($1\s*=\s*\).*\$/\1$2/" "$3"
sed -i.bak "s/^\($1\s*=\s*\).*\$/\1$2/" "$3"
}
function __delete_line_linux {
sed -i.bak -c "/$1/d" "$2"
sed -i.bak "/$1/d" "$2"
}

Loading…
Cancel
Save