aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Müller <raimue@codingfarm.de>2014-01-26 23:23:03 +0100
committerRainer Müller <raimue@codingfarm.de>2014-01-26 23:23:03 +0100
commit7a7002d5af62d0a4791a386cdc3560330f27f1c0 (patch)
treea0c514e1946954fa5978da7b125bdedbb2c4feb9
parentupdate version. fixes #4 (diff)
downloadporticron-7a7002d5af62d0a4791a386cdc3560330f27f1c0.tar.gz
porticron-7a7002d5af62d0a4791a386cdc3560330f27f1c0.tar.bz2
porticron-7a7002d5af62d0a4791a386cdc3560330f27f1c0.zip
Avoid the deprecated `portageq portdir'
This implements the fix proposed in hollow/porticron#6.
-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