[haiku-commits] Re: haiku: hrev46116 - src/build/libpackage

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 29 Sep 2013 12:04:16 +0200

On 09/28/2013 11:36 PM, Ingo Weinhold wrote:
On 09/28/2013 09:50 PM, Axel Dörfler wrote:
On 09/28/2013 03:08 PM, ingo_weinhold@xxxxxx wrote:
+    local defines ;
+    if ! [ Match "(^/.*)" : $(dataDir) ] {
+        dataDir = `pwd`/$(dataDir) ;
+    }
Since when does Jam support this? I thought this stuff has to be done in
a configure step before?
If you mean the `pwd`, that is just a string for Jam. It just ends up in
the actions eventually where the shell happily evaluates it.

Ah, nice one! If I had known that before, I might just have fixed it myself :-)

Bye,
   Axel.


Other related posts: