#5721: LinkInstallZip breaks when jamming outside of HAIKU_TOP --------------------------+------------------------------------------------- Reporter: mmadia | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: Build System | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: --------------------------+------------------------------------------------- Currently [http://dev.haiku- os.org/browser/haiku/trunk/build/jam/PackageRules#L247 PackageRules#L247]'s LinkInstallZip assumes {{{ `pwd` = $(HAIKU_TOP) = '.' }}} An example reproduction {{{ cd <generated> jam -qdadx haiku-ipw2100-cvs }}} The following improves the situation, but isn't a clean solution nor does it work when <generated> is a symlink. {{{ Index: build/jam/PackageRules === actions together LinkInstallZip { - ln -sf "`pwd`/$(2)" "$(1)" ; + if [ "$HAIKU_TOP" == '.' ]; then + ln -sf "`pwd`/$(2)" "$(1)" ; + else + ln -sf "$(2)" "$(1)" ; + fi + } }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/5721> Haiku <http://dev.haiku-os.org> Haiku - the operating system.