pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/R2pkg/files Define RPKG, not rpkg, in the env...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d85164ebacc
branches:  trunk
changeset: 412384:9d85164ebacc
user:      brook <brook%pkgsrc.org@localhost>
date:      Thu Mar 05 17:15:31 2020 +0000

description:
Define RPKG, not rpkg, in the environment for R2pkg.R

When reading the environment, R2pkg.R expects RPKG to be the name of the
R package.  Fix the inadvertent use of lower case in the variable name.

diffstat:

 pkgtools/R2pkg/files/R2pkg.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4c455d2d6190 -r 9d85164ebacc pkgtools/R2pkg/files/R2pkg.sh
--- a/pkgtools/R2pkg/files/R2pkg.sh     Thu Mar 05 17:07:54 2020 +0000
+++ b/pkgtools/R2pkg/files/R2pkg.sh     Thu Mar 05 17:15:31 2020 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: R2pkg.sh,v 1.15 2020/03/05 17:07:54 brook Exp $
+# $NetBSD: R2pkg.sh,v 1.16 2020/03/05 17:15:31 brook Exp $
 #
 # Copyright (c) 2014,2015,2016,2017,2018,2019
 #      Brook Milligan.  All rights reserved.
@@ -153,7 +153,7 @@
 
 make_package ()
 {
-    env LEVEL="$level" rpkg="$rpkg" PACKAGES_LIST="$packages_list" \
+    env LEVEL="$level" RPKG="$rpkg" PACKAGES_LIST="$packages_list" \
        R2PKG="$r2pkg" ARGS="$args" RECURSIVE="$recursive" \
        UPDATE="$update" DEPENDENCY_LIST="$dependency_list" \
        MAINTAINER_EMAIL="$maintainer_email" \



Home | Main Index | Thread Index | Old Index