projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8767df4
)
have dosym handle prefix when given an absolute path.
author
Kito
<kito@gentoo.org>
Sat, 3 Dec 2005 17:38:04 +0000
(17:38 -0000)
committer
Kito
<kito@gentoo.org>
Sat, 3 Dec 2005 17:38:04 +0000
(17:38 -0000)
svn path=/main/branches/prefix/; revision=2328
bin/dosym
patch
|
blob
|
history
diff --git
a/bin/dosym
b/bin/dosym
index c41045fdd2b649117407c27796b2ee3d88abd806..a1e990305c884143ae1eab123301718feab6f124 100755
(executable)
--- a/
bin/dosym
+++ b/
bin/dosym
@@
-10,4
+10,5
@@
fi
target="${1}"
linkname="${2}"
+[[ ${target:0:1} == "/" ]] && target="${PREFIX}${target}"
ln -snf "${target}" "${D}${linkname}"