Module Name: src
Committed By: riastradh
Date: Mon Aug 27 00:46:04 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau2netbsd
Log Message:
Allow caller to specify mv so I can stage this in git.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/nouveau/nouveau2netbsd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/nouveau/nouveau2netbsd
diff -u src/sys/external/bsd/drm2/nouveau/nouveau2netbsd:1.2 src/sys/external/bsd/drm2/nouveau/nouveau2netbsd:1.3
--- src/sys/external/bsd/drm2/nouveau/nouveau2netbsd:1.2 Tue Aug 5 19:49:13 2014
+++ src/sys/external/bsd/drm2/nouveau/nouveau2netbsd Mon Aug 27 00:46:04 2018
@@ -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 @@ cat Makefile \
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.