diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-07-06 13:30:02 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-07-06 13:30:02 +0000 |
commit | 6539e8e981d1de45d7c2284d64ad4fbd39ce231d (patch) | |
tree | 026a3482e996e31bf4208feefa001097b02f8ed2 /vdrplugin-rebuild | |
parent | Add possibility to enable --userdump. (diff) | |
download | gentoo-vdr-scripts-6539e8e981d1de45d7c2284d64ad4fbd39ce231d.tar.gz gentoo-vdr-scripts-6539e8e981d1de45d7c2284d64ad4fbd39ce231d.tar.bz2 gentoo-vdr-scripts-6539e8e981d1de45d7c2284d64ad4fbd39ce231d.zip |
Do not use header-path hardcoded in commands.
svn path=/gentoo-vdr-scripts/trunk/; revision=628
Diffstat (limited to 'vdrplugin-rebuild')
-rw-r--r-- | vdrplugin-rebuild/vdrplugin-rebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vdrplugin-rebuild/vdrplugin-rebuild b/vdrplugin-rebuild/vdrplugin-rebuild index 182f39c..758033b 100644 --- a/vdrplugin-rebuild/vdrplugin-rebuild +++ b/vdrplugin-rebuild/vdrplugin-rebuild @@ -260,8 +260,8 @@ db_plug_merge() { } get_vdr_plugin_dir() { - local d - d="$(awk '/^PLUGINLIBDIR/{ print $3 }' /usr/include/vdr/Make.config)" + local d include_dir=/usr/include/vdr + d="$(awk '/^PLUGINLIBDIR/{ print $3 }' ${include_dir}/Make.config)" if [ -n "${d}" ]; then d=/usr/lib/vdr/plugins fi |