diff --git a/drawClass.php b/drawClass.php index 2967c29..0dab9eb 100755 --- a/drawClass.php +++ b/drawClass.php @@ -29,8 +29,8 @@ for ($i = 0; $i < COLOR_DEPTH; ++$i) { file_put_contents(FILENAME, "$item$i"); shell_exec("git add ."); - shell_exec("git commit -m $item$i"); - shell_exec("git commit --amend --no-edit --date $item$i"); + shell_exec("git commit -m \"$item$i\""); + shell_exec("git commit --amend --no-edit --date \"$item$i\""); } }