summaryrefslogtreecommitdiffstats
path: root/rules/xcursor-transparent-theme.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-04-06 12:22:32 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-04-15 16:16:12 +0200
commitaf2395ad4237b7b2f64755b005afc00371ac06f6 (patch)
tree0c3ab1e57e0121c5c6a9c8988a1d76354ef62e72 /rules/xcursor-transparent-theme.make
parent93d7526802c6e73b40f6f87f6dcb94e0fa203354 (diff)
downloadptxdist-af2395ad4237b7b2f64755b005afc00371ac06f6.tar.gz
ptxdist-af2395ad4237b7b2f64755b005afc00371ac06f6.tar.xz
[xcursor-transparent-theme] fix targetinstall
"make install" installs absolute links. These are messed up when using dev packages. Ignore the link path. All links point to a file in the same dir. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xcursor-transparent-theme.make')
-rw-r--r--rules/xcursor-transparent-theme.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/xcursor-transparent-theme.make b/rules/xcursor-transparent-theme.make
index b8071548c..aed5dd2ee 100644
--- a/rules/xcursor-transparent-theme.make
+++ b/rules/xcursor-transparent-theme.make
@@ -59,7 +59,7 @@ $(STATEDIR)/xcursor-transparent-theme.targetinstall:
cd $(XCURSOR_TRANSPARENT_THEME_PKGDIR); \
find . -type l | while read link; do \
target=$$(readlink $$link); \
- target=$${target#$$(cd $$(dirname $$link); pwd)/}; \
+ target=$$(basename $$target); \
$(call install_link, xcursor-transparent-theme, \
$$target, $${link#.}); \
done; \