[Lunar-commits] <moonbase> bash: move to /usr/bin

Auke Kok auke at foo-projects.org
Sun Apr 29 22:51:18 CEST 2012


On 04/29/2012 06:52 AM, Zbigniew Luszpinski wrote:
> commit 341a118032ab5de3cb29604a5150f6abc8d368c9
> Author: Zbigniew Luszpinski<zbiggy at lunar-linux.org>
> Date:   Sun Apr 29 15:52:24 2012 +0200
>
>      bash: move to /usr/bin
> ---
>   shells/bash/BUILD |   10 ++++++----
>   1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/shells/bash/BUILD b/shells/bash/BUILD
> index 1f63131..5376966 100644
> --- a/shells/bash/BUILD
> +++ b/shells/bash/BUILD
> @@ -27,16 +27,18 @@
>     patch_it $SOURCE24 0&&
>     patch_it $SOURCE25 0&&
>
> -  OPTS+=" --bindir=/bin                 \
> -          --enable-readline             \
> +  OPTS+=" --enable-readline             \
>             --without-installed-readline  \
>             --with-curses                 \
>             --without-bash-malloc         \
>             --disable-profiling"&&
>
>     default_build&&
> -  ln -sf bash /bin/sh&&
> -  ln -f /bin/bash /bin/rbash&&
> +
> +  # legacy links to /bin
> +  ln -sf /usr/bin/bash /bin/sh&&
> +  ln -sf /usr/bin/bash /bin/bash&&
> +  ln -f  /usr/bin/bash /bin/rbash&&


these symlinks will fail on systems where /bin is a symlink to /usr/bin

Auke



More information about the Lunar-commits mailing list