瀏覽代碼

Fortify against space in ffoo install path

like if someone's ever going to do it, right...?
("C:\Program Files\fastfoo" ... ugh...)
Alois Mahdal 8 年之前
父節點
當前提交
77f26611a7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      bin/mkexec

+ 1
- 1
bin/mkexec 查看文件

@@ -62,7 +62,7 @@ my $templates = {
62 62
         test    => "use strict;\nuse warnings;\nuse Test::More;\n\n",
63 63
     },
64 64
     bash => {
65
-        'ffoo'  => "\n. \$(ffoom path) || exit 3\n\n"
65
+        'ffoo'  => "\n. \"\$(ffoom path)\" || exit 3\n\n"
66 66
                    . "ffoo import pretty\n\n"
67 67
                    . "FFOO_DEBUG=true",
68 68
     }