aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-04-14 22:20:34 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-04-14 22:20:34 +0200
commit98d484e66bcc229a5b801216ce24c9f9a961f9c3 (patch)
tree1afb6c69e6e2170098b726ac8b2c7aa6a1a0c318 /vdrplugin-rebuild
parentgit push test (diff)
downloadgentoo-vdr-scripts-98d484e66bcc229a5b801216ce24c9f9a961f9c3.tar.gz
gentoo-vdr-scripts-98d484e66bcc229a5b801216ce24c9f9a961f9c3.tar.bz2
gentoo-vdr-scripts-98d484e66bcc229a5b801216ce24c9f9a961f9c3.zip
fixed 'portageq portdir' deprecated warning
Diffstat (limited to 'vdrplugin-rebuild')
-rw-r--r--vdrplugin-rebuild/vdrplugin-rebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdrplugin-rebuild/vdrplugin-rebuild b/vdrplugin-rebuild/vdrplugin-rebuild
index 700b4bf..5fddc34 100644
--- a/vdrplugin-rebuild/vdrplugin-rebuild
+++ b/vdrplugin-rebuild/vdrplugin-rebuild
@@ -18,14 +18,14 @@ if [[ `id -u` != 0 ]]; then
exit 1
fi
-R_VERSION="0.3"
+R_VERSION="0.4"
R_DBPATH="${ROOT}/usr/share/vdr/vdrplugin-rebuild"
R_PORTAGEQ="`type -p portageq 2>/dev/null`"
if [[ -z ${R_PORTAGEQ} ]]; then
echo "** FATAL: Unable to find portageq."
exit 1
fi
-R_PORTDIR=`${R_PORTAGEQ} portdir`
+R_PORTDIR=$(${R_PORTAGEQ} get_repo_path $(${R_PORTAGEQ} envvar EROOT) gentoo)
R_VDBPATH=`${R_PORTAGEQ} vdb_path`
R_OPTION_X=0;
R_OPTION_C=0;