From 8dfdcaaf382093f6160d0d5cf0bae045114a75a6 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Wed, 7 Mar 2018 08:17:45 -0800 Subject: [PATCH] use correct maintainer --- up.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/up.sh b/up.sh index b89e64e..eb238d5 100755 --- a/up.sh +++ b/up.sh @@ -66,9 +66,9 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" CHECK_RESULT=$($SCRIPT_DIR/check-result.sh $RESULT $NEW_VERSION) MAINTAINERS= -if nix eval "(let pkgs = import ./. {}; in pkgs.haproxy.meta.maintainers)" > /dev/null 2>&1 +if nix eval "(let pkgs = import ./. {}; in pkgs.$PACKAGE_NAME.meta.maintainers)" > /dev/null 2>&1 then - maintainers=$(nix eval --raw '(let pkgs = import ./. {}; gh = m : m.github or ""; nonempty = s: s != ""; addat = s: "@"+s; in builtins.concatStringsSep " " (map addat (builtins.filter nonempty (map gh pkgs.haproxy.meta.maintainers))))') + maintainers=$(nix eval --raw '(let pkgs = import ./. {}; gh = m : m.github or ""; nonempty = s: s != ""; addat = s: "@"+s; in builtins.concatStringsSep " " (map addat (builtins.filter nonempty (map gh pkgs.$PACKAGE_NAME.meta.maintainers))))') if [ -n "$maintainers" ] then MAINTAINERS="