On 2003-02-27, Shai Bentin wrote:

> I joined a development project where they use mainly windows. Some of their
> build scripts, and in few places in their code they hardcoded references to a
> Z: drive.
>
Tell the developers that code should not contain hardcoded paths, not
even on widnows?

> Is there a way to create such a situation in linux where referencing z: will
> work ? (thus, I can't just create a partition/ directory z: because it would
> be referenced as /z:/ which is not good).
>
You can have it in the current directory (relative path); if you have
a finite number of directories from which it runs, you can make some
symlinks to map z: in all these places to the same dir.  Also note
that this name might cause problems in some unix contexts where `:' is
used as a separator (notably various search pathes).

-- 
Beni Cherniavsky <[EMAIL PROTECTED]>

I don't like assignments, I like problems.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to