summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shellconfig.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2008-08-07 02:23:11 +0000
committerChris Johns <chrisj@rtems.org>2008-08-07 02:23:11 +0000
commit8192e4ff6139a599d38e7df8a4d27f12144cfad8 (patch)
treecf02a8c71d66583a746bffb40af086108dcde879 /cpukit/libmisc/shell/shellconfig.h
parent2008-08-06 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-8192e4ff6139a599d38e7df8a4d27f12144cfad8.tar.bz2
2008-08-07 Chris Johns <chrisj@rtems.org>
* libcsupport/src/_rename_r.c: Fixed return code bug. Add a check to see if the 'to' path was a directory and removed the directory. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv command. * libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r--cpukit/libmisc/shell/shellconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h
index 85b4f03960..8b34cd04d4 100644
--- a/cpukit/libmisc/shell/shellconfig.h
+++ b/cpukit/libmisc/shell/shellconfig.h
@@ -47,6 +47,7 @@ extern rtems_shell_cmd_t rtems_shell_CHROOT_Command;
extern rtems_shell_cmd_t rtems_shell_CHMOD_Command;
extern rtems_shell_cmd_t rtems_shell_CAT_Command;
extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command;
+extern rtems_shell_cmd_t rtems_shell_MV_Command;
extern rtems_shell_cmd_t rtems_shell_RM_Command;
extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
@@ -270,6 +271,11 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
&rtems_shell_MSDOSFMT_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_MV)) || \
+ defined(CONFIGURE_SHELL_COMMAND_MV)
+ &rtems_shell_MV_Command,
+ #endif
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
defined(CONFIGURE_SHELL_COMMAND_RM)
&rtems_shell_RM_Command,