aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xqcd2
1 files changed, 1 insertions, 1 deletions
diff --git a/qcd b/qcd
index 4cb18fa..091ba1a 100755
--- a/qcd
+++ b/qcd
@@ -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
}