pkgsrc/sysutils/renameutils/patches/patch-src_icmd.c
bsiegert d6fdd397ab Import renameutils-0.12.0 from pkgsrc-wip.
The file renaming utilities consists of five programs designed to make renaming
of files faster and less cumbersome:
- qmv ("quick move") allows a bunch of file names to be edited in a text editor;
- imv ("interactive move") allows a single file name to be edited in the
  terminal using the GNU Readline library
- qcp and icp are similar to qmv and imv but copy files instead of moving them;
- deurlname removes URL encoded characters (such as %20 representing space) from
  file names.

PR pkg/52546, which I neglected for a year.
2018-11-09 12:50:49 +00:00

16 lines
481 B
C

$NetBSD: patch-src_icmd.c,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
Use mv and cp from GNU coreutils.
--- src/icmd.c.orig 2008-09-21 09:10:29 UTC
+++ src/icmd.c
@@ -45,8 +45,8 @@
#include "common/string-utils.h"
#include "common/common.h"
-#define MV_COMMAND "mv"
-#define CP_COMMAND "cp"
+#define MV_COMMAND "gmv"
+#define CP_COMMAND "gcp"
/* This list should be up to date with mv and cp!
* It was last updated on 2007-11-30 for
* Debian coreutils 5.97-5.4 in unstable.