From: Jan Rękorajski Date: Wed, 17 Dec 2014 08:12:33 +0000 (+0100) Subject: Revert "- behave as proper sh when invoked as /bin/sh, wothout fancy, incompatible... X-Git-Tag: auto/th/mksh-50d-3~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=e054616e3acc1a52b937fd8e50094039cd032669;p=packages%2Fmksh.git Revert "- behave as proper sh when invoked as /bin/sh, wothout fancy, incompatible hacks" This reverts commit e8ed3f0e4ba55966f3aa461d8deb6617f32d106e. This change disabled not only stupidities in echo (-e by default) but also brace expansion. --- diff --git a/mksh.spec b/mksh.spec index 76c9dbf..fd75e54 100644 --- a/mksh.spec +++ b/mksh.spec @@ -7,7 +7,7 @@ Summary: MirBSD Korn Shell Summary(pl.UTF-8): Powłoka Korna z MirBSD Name: mksh Version: 50d -Release: 2 +Release: 1 License: BSD Group: Applications/Shells Source0: http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.tgz @@ -136,7 +136,7 @@ EOF install -d out CC="%{__cc}" \ -CFLAGS="%{rpmcflags} -DMKSH_GCC55009 -DMKSH_BINSHREDUCED" \ +CFLAGS="%{rpmcflags} -DMKSH_GCC55009" \ LDFLAGS="%{rpmldflags}" \ CPPFLAGS="%{rpmcppflags}" \ sh ./Build.sh -Q -r -j -c lto @@ -159,7 +159,7 @@ mv mksh out/mksh.dynamic %if %{with static} CC="%{__cc}" \ -CFLAGS="%{rpmcflags} -DMKSH_GCC55009 -DMKSH_BINSHREDUCED" \ +CFLAGS="%{rpmcflags} -DMKSH_GCC55009" \ LDFLAGS="%{rpmldflags} -static" \ CPPFLAGS="%{rpmcppflags}" \ sh ./Build.sh -Q -r -j -c lto