History log of /haiku/src/bin/setarch.cpp
Revision Date Author Comments
# 0975f16f 09-Jun-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

setarch: use a login shell; fixes #12066.

* This also updates /etc/profile to detect whether our
parent process is a shell, and changes the banner
message accordingly.
* Also, pipe errors to /dev/null, in case grep is not
installed; this allows us to not require grep as a
dependency, and let the banner message do the right
thing.


# a5bc4776 09-Jun-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

setarch: fix generation of new PATH environment variable.

* The insertion index didn't take into account the fact
that some paths don't get added before the index is
calculated. This resulted in the requested arch paths
ending up in reverse if we were already in the
requested arch environment.

Fixes #12125.


# fe309ca2 06-Mar-2014 David Höppner <0xffea@gmail.com>

setarch: list available architectures

Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>


# 4f5e9385 16-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add setarch and getarch commands


# 0975f16f7ca94b654cb6a55b3316daae89843abb 09-Jun-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

setarch: use a login shell; fixes #12066.

* This also updates /etc/profile to detect whether our
parent process is a shell, and changes the banner
message accordingly.
* Also, pipe errors to /dev/null, in case grep is not
installed; this allows us to not require grep as a
dependency, and let the banner message do the right
thing.


# a5bc477663a7f007f14c46ea34c65f758dacfbf4 09-Jun-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

setarch: fix generation of new PATH environment variable.

* The insertion index didn't take into account the fact
that some paths don't get added before the index is
calculated. This resulted in the requested arch paths
ending up in reverse if we were already in the
requested arch environment.

Fixes #12125.


# fe309ca2a3fc82a0abed4064eecf1fd144ac444e 06-Mar-2014 David Höppner <0xffea@gmail.com>

setarch: list available architectures

Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>


# 4f5e93857671d231372096457d024926635dcee6 16-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add setarch and getarch commands