summaryrefslogtreecommitdiff
path: root/cerbero-uninstalled
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-11-28 16:46:25 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-11-28 16:46:25 +0530
commitabc2a4baff7cf2ca4a01c2fe21a4c55cc3febf72 (patch)
tree2cb0e51f502a6d67137851b813b3a78f4197aab0 /cerbero-uninstalled
parentb3373e063cbc2af88c284234d573dd0c7b418cbe (diff)
cerbero: \ in comments breaks execution as python script
``` File ./cerbero-uninstalled, line 76 $PYTHON -c """ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 702-703: truncated \UXXXXXXXX escape ``` So escape the `\`. Hopefully people reading won't get confused.
Diffstat (limited to 'cerbero-uninstalled')
-rwxr-xr-xcerbero-uninstalled8
1 files changed, 4 insertions, 4 deletions
diff --git a/cerbero-uninstalled b/cerbero-uninstalled
index 6cfd74eb..02431ebb 100755
--- a/cerbero-uninstalled
+++ b/cerbero-uninstalled
@@ -38,10 +38,10 @@ esac
# /d -> d:/
# /c -> c:/
# /d/projects/cerbero -> d:/projects/cerbero/
-# /home/USERNAME/cerbero -> C:\MinGW\msys\1.0/home/USERNAME/
-# /mingw -> C:\MinGW/
-# /mingw/bin/foobar -> C:\MinGW\bin/foobar/
-# /tmp/baz -> C:\Users\USERNAME\AppData\Local\Temp/baz/
+# /home/USERNAME/cerbero -> C:\\MinGW\\msys\\1.0/home/USERNAME/
+# /mingw -> C:\\MinGW/
+# /mingw/bin/foobar -> C:\\MinGW\\bin/foobar/
+# /tmp/baz -> C:\\Users\\USERNAME\\AppData\\Local\\Temp/baz/
msys_dir_to_win32() {
set -e
local msys_path stripped_path mount_point path mounted_path