summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-01-03 16:51:05 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-01-24 18:09:53 +0100
commit5693cdf181569c3377896d009985249883e1f8f5 (patch)
tree0888c37b6a78510a9e54b097b1d3f418312de9a7 /scripts
parent515e500c353655ab4bed6f596d7ffc2d2ca848ce (diff)
downloadptxdist-5693cdf181569c3377896d009985249883e1f8f5.tar.gz
ptxdist-5693cdf181569c3377896d009985249883e1f8f5.tar.xz
[ptxd_make_xpkg_prepare] use ptxd_in_path to search in PTXDIST_PATH_RULES
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_xpkg_prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_prepare.sh b/scripts/lib/ptxd_make_xpkg_prepare.sh
index 61b520c98..5c7228534 100644
--- a/scripts/lib/ptxd_make_xpkg_prepare.sh
+++ b/scripts/lib/ptxd_make_xpkg_prepare.sh
@@ -42,7 +42,7 @@ install_init: @VERSION@ -> ${pkg_xpkg_version}"
for script in preinst postinst prerm postrm; do
echo -n "install_init: ${script} "
- if ptxd_get_path "${PTXDIST_PATH_RULES//://${pkg_xpkg}.${script} }"; then
+ if ptxd_in_path PTXDIST_PATH_RULES "${pkg_xpkg}.${script}"; then
install -m 0755 \
-D "${ptxd_reply}" \
"${pkg_ipkg_control_dir}/${script}" || return