[haiku-bugs] Re: [Haiku] #10106: #!executable doesn't work as expected.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 18 Oct 2013 12:26:51 -0000

#10106: #!executable doesn't work as expected.
-------------------------------------+----------------------------
   Reporter:  bbjimmy                |      Owner:  bonefish
       Type:  bug                    |     Status:  closed
   Priority:  normal                 |  Milestone:  R1
  Component:  System/runtime_loader  |    Version:  R1/Development
 Resolution:  invalid                |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by pulkomandy):

 yab should use find_directory to locate the files. The API was already
 available in BeOS and allows changes to the filesystem mapping to work
 fine. http://www.haiku-os.org/legacy-
 docs/bebook/BDirectory.html#find_directory

 Whatever directory you decide to use (be it lib, add-ons, or apps), there
 is a set of constants for it. yab should look in the different possible
 places (system, common and user) and grab files from all 3. In Haiku we
 removed COMMON and added non-packaged constants instead. These can be used
 the same, and if done right, yab will be able to locate both scripts and
 libs coming from the non-packaged folder, or from hpkg files, and manage
 to run them all.

--
Ticket URL: <http://dev.haiku-os.org/ticket/10106#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: