Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/nouveau Allow caller to specify mv so ...



details:   https://anonhg.NetBSD.org/src/rev/d46256f7339b
branches:  trunk
changeset: 992369:d46256f7339b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 00:46:04 2018 +0000

description:
Allow caller to specify mv so I can stage this in git.

diffstat:

 sys/external/bsd/drm2/nouveau/nouveau2netbsd |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r f465e6fcaaf3 -r d46256f7339b sys/external/bsd/drm2/nouveau/nouveau2netbsd
--- a/sys/external/bsd/drm2/nouveau/nouveau2netbsd      Mon Aug 27 00:36:03 2018 +0000
+++ b/sys/external/bsd/drm2/nouveau/nouveau2netbsd      Mon Aug 27 00:46:04 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#      $NetBSD: nouveau2netbsd,v 1.2 2014/08/05 19:49:13 riastradh Exp $
+#      $NetBSD: nouveau2netbsd,v 1.3 2018/08/27 00:46:04 riastradh Exp $
 #
 # $ /path/to/nouveau2netbsd > /path/to/files.nouveau.new
 #
@@ -12,6 +12,8 @@
 
 set -Ceu
 
+: ${MV:=mv}
+
 # Location of the Nouveau sources relative to $NETBSDSRCDIR.
 nouveau_top=external/bsd/drm2/dist/drm/nouveau
 
@@ -78,7 +80,7 @@
 
 while read from to; do
        if [ "x$from" != "x$to" ]; then
-               mv -f -- "$from" "$to"
+               ${MV} -f -- "$from" "$to"
        fi
         # Probably not necessary -- Linux tends not to have RCS ids --
         # but a precaution out of paranoia.



Home | Main Index | Thread Index | Old Index