diff options
| author | Teddy Wing | 2017-10-04 23:01:31 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-10-04 23:01:31 +0200 |
| commit | c66735aced2373be9902d35c7f45267c8257ba21 (patch) | |
| tree | 68d3b5c4add67ae6206d7a1224f8565d29c5f16d | |
| parent | d72c0c18af130dac31329bdafb08a8ea48b0a669 (diff) | |
| parent | 357eb2484bf58ed202b072b94fff54d81fe0fb49 (diff) | |
| download | qcd-c66735aced2373be9902d35c7f45267c8257ba21.tar.bz2 | |
Merge branch 'fix-change-command-sed-substitution-escaping-for-bash-4'
| -rwxr-xr-x | qcd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ function __qcd_change_shortcut () { path=$(__qcd_absolute_path "$path") # The `//\//\/` escapes slashes in the path so that `sed` doesn't complain - sed -i.bak -E "s/^${shortcut} .+$/${shortcut} ${path//\//\/}/" $QCD_DATABASE_FILE + sed -i.bak -E "s/^${shortcut} .+$/${shortcut} ${path//\//\\/}/" $QCD_DATABASE_FILE fi } |
