summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2020-03-05 17:15:31 +0000
committerbrook <brook@pkgsrc.org>2020-03-05 17:15:31 +0000
commit861effa78ee1c440dd1d33a69457e6d63d5f395d (patch)
treeada6526b330fe8a3321063a2e8aec9e82faf4e73 /pkgtools
parent657d25c393833a8e4098ec5ef7ae72c18b910b70 (diff)
downloadpkgsrc-861effa78ee1c440dd1d33a69457e6d63d5f395d.tar.gz
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 (limited to 'pkgtools')
-rwxr-xr-xpkgtools/R2pkg/files/R2pkg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/R2pkg/files/R2pkg.sh b/pkgtools/R2pkg/files/R2pkg.sh
index f649c775244..157d2e0fdbd 100755
--- a/pkgtools/R2pkg/files/R2pkg.sh
+++ b/pkgtools/R2pkg/files/R2pkg.sh
@@ -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 @@ preserve_original_content ()
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" \