help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gst-package without -t


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] gst-package without -t
Date: Sat, 18 Jul 2009 15:44:26 +0200
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Stefan Schmiedl wrote:
> Package.st (loaded by gst-package) contains the method (line 240)
> 
>     destDir: destdir installDir: instDir [
>       self validateDestDir: destdir installDir: instDir.
>       installDir :=
>           File name: destdir, (instDir ifNil: [ self defaultInstallDir ])
>     ]
> 
> with 
> 
>     defaultInstallDir [ ^Directory image ]
> 
> This does not bode well when you don't supply an installation directory
> with -t:
> 
> - Directory image  will give something like  <File 
> /usr/local/var/lib/smalltalk>

Yes, one #asString is needed.

> - '' , <File ...> won't work
> - What's the idea of appending an absolute path to destdir,
>   whatever that may be?

To support "make install DESTDIR=/tmp/foo" which creates an installed
tree in /tmp/foo, ready to be packaged and then uncompressed in /.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]