aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Böhm <bb@xnull.de>2014-02-06 12:11:33 +0100
committerBenedikt Böhm <bb@xnull.de>2014-02-06 12:11:33 +0100
commit971dac34c929659a4099b343be1048dafa051d5f (patch)
treea0c514e1946954fa5978da7b125bdedbb2c4feb9
parentupdate version. fixes #4 (diff)
parentAvoid the deprecated `portageq portdir' (diff)
downloadporticron-971dac34c929659a4099b343be1048dafa051d5f.tar.gz
porticron-971dac34c929659a4099b343be1048dafa051d5f.tar.bz2
porticron-971dac34c929659a4099b343be1048dafa051d5f.zip
Merge pull request #8 from raimue/portageq-portdir
Avoid the deprecated `portageq portdir'
-rwxr-xr-xbin/porticron2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/porticron b/bin/porticron
index d168b27..86a1f70 100755
--- a/bin/porticron
+++ b/bin/porticron
@@ -117,7 +117,7 @@ FQDN=$(hostname --fqdn)
HOST=$(hostname -s)
IP=$(dig +short ${FQDN} | tr '\n' ' ')
DATE=$(date -R)
-PORTDIR=$(portageq portdir)
+PORTDIR=$(portageq get_repo_path $(portageq envvar EROOT) gentoo)
# replace variables
for var in FQDN HOST IP DATE; do