From cece7ad61f1375e855d1a2c55ab183a177e2a7b6 Mon Sep 17 00:00:00 2001
From: Eli Zaretskii <eliz@gnu.org>
Date: Sat, 18 May 2013 14:07:36 +0300
Subject: [PATCH] Support "move" as internal shell command on Windows with
 cmd.exe.

 job.c (construct_command_argv_internal) <sh_cmds_dos> [WINDOWS32]: Add
 "move".  Fixes Savannah bug #30714.
---
 ChangeLog | 3 +++
 job.c     | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b6eb2610..6d5d0538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-05-18  Eli Zaretskii  <eliz@gnu.org>
 
+	* job.c (construct_command_argv_internal) <sh_cmds_dos>
+	[WINDOWS32]: Add "move".  Fixes Savannah bug #30714.
+
 	* guile.c: Move inclusion of makeint.h before gnumake.h.  This
 	order must be observed when building Make, because gnumake.h must
 	be included with GMK_BUILDING_MAKE defined, which makeint.h
diff --git a/job.c b/job.c
index a072bdeb..5f665a99 100644
--- a/job.c
+++ b/job.c
@@ -2849,8 +2849,8 @@ construct_command_argv_internal (char *line, char **restp, char *shell,
                                  "chdir", "cls", "color", "copy", "ctty",
                                  "date", "del", "dir", "echo", "echo.",
                                  "endlocal", "erase", "exit", "for", "ftype",
-                                 "goto", "if", "if", "md", "mkdir", "path",
-                                 "pause", "prompt", "rd", "rem", "ren",
+                                 "goto", "if", "if", "md", "mkdir", "move",
+				 "path", "pause", "prompt", "rd", "rem", "ren",
                                  "rename", "rmdir", "set", "setlocal",
                                  "shift", "time", "title", "type", "ver",
                                  "verify", "vol", ":", 0 };