From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/releng:master commit in: config/, tools/
Date: Fri, 20 May 2016 02:20:07 +0000 (UTC) [thread overview]
Message-ID: <1463710574.170331ecea5c8de1c49d8bb4818fb28c5b5f4662.vapier@gentoo> (raw)
commit: 170331ecea5c8de1c49d8bb4818fb28c5b5f4662
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri May 20 02:16:14 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri May 20 02:16:14 2016 +0000
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=170331ec
catalyst-auto: automatically calculate REPO_DIR
Rather than hardcode it to a path that works on only a few systems,
switch it to the dynamic calculation like we use for GITDIR.
config/build.env | 1 -
tools/catalyst-auto | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/build.env b/config/build.env
index 72c68dc..2fc44f6 100644
--- a/config/build.env
+++ b/config/build.env
@@ -1,5 +1,4 @@
BASE_DIR="/release"
-REPO_DIR="/release/releng"
TMP_PATH="/release/tmp/run"
BUILD_SRCDIR_BASE=${BASE_DIR}/buildroot/${ARCH}-dev/builds/
BUILD_DESTDIR_BASE=${BASE_DIR}/weekly/builds/${ARCH}/
diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 51e0c16..b933aa6 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -159,8 +159,9 @@ if [[ -n ${lock_file} ]]; then
fi
fi
-# Probe the default gitdir from this script name.
-GITDIR=$(dirname "$(dirname "$(realpath "$0")")")
+# Probe the default source dir from this script name.
+REPO_DIR=$(dirname "$(dirname "$(realpath "$0")")")
+GITDIR=${REPO_DIR}
# Set up defaults that config files can override if they want.
SUBARCH=$(uname -m)
reply other threads:[~2016-05-20 2:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463710574.170331ecea5c8de1c49d8bb4818fb28c5b5f4662.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox