aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2017-02-19 18:12:48 +0100
committerSebastian Pipping <sebastian@pipping.org>2017-02-19 18:13:08 +0100
commit5ab18cfaa6773629817dfd7ea143b53d88d92d38 (patch)
treeea76c1a441115683a51280d530fdc5515a8f19c9 /bin/porticron
parentAdd simple suite of system tests based on BATS (diff)
downloadporticron-5ab18cfaa6773629817dfd7ea143b53d88d92d38.tar.gz
porticron-5ab18cfaa6773629817dfd7ea143b53d88d92d38.tar.bz2
porticron-5ab18cfaa6773629817dfd7ea143b53d88d92d38.zip
Bypass portageq in test suite for testing on Ubuntu
Diffstat (limited to 'bin/porticron')
-rwxr-xr-xbin/porticron2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/porticron b/bin/porticron
index 844f6ce..dba785e 100755
--- a/bin/porticron
+++ b/bin/porticron
@@ -118,7 +118,7 @@ FQDN=$(hostname --fqdn)
HOST=$(hostname -s)
IP=$(dig +short ${FQDN} | tr '\n' ' ')
: ${DATE:=$(date -R)}
-PORTDIR=$(portageq get_repo_path $(portageq envvar EROOT) gentoo)
+: ${PORTDIR:=$(portageq get_repo_path $(portageq envvar EROOT) gentoo)}
# defaults, second half
: ${RCPT:=root}