testcase:
echo '[ "foo" = "bar" -a "-u" = "zoo" ]'|/bin/sh
/bin/sh: <stdin>[1]: [: zoo: unexpected operator/operand
Changed files:
klibc-kill_bashism.patch -> 1.2
klibc.spec -> 1.42
+++ /dev/null
---- klibc-1.1.1/ash/mkbuiltins.orig 2005-09-06 22:49:34.000000000 +0200
-+++ klibc-1.1.1/ash/mkbuiltins 2005-09-30 14:40:07.850154750 +0200
-@@ -108,7 +108,7 @@
- }
- echo 'int '"$func"'(int, char **);' >&4
- while
-- [ $# != 0 -a "$1" != '#' ]
-+ [ $# != 0 ] && [ "$1" != '#' ]
- do
- [ "$1" = '-s' ] && {
- specials="$specials $2 $func"
Patch0: %{name}-ksh-quotation.patch
Patch1: %{name}-klcc.patch
Patch2: %{name}-fstype_jfs.patch
-Patch3: %{name}-kill_bashism.patch
URL: http://www.zytor.com/mailman/listinfo/klibc/
%{?with_dist_kernel:BuildRequires: kernel-headers >= 2.4}
BuildRequires: rpmbuild(macros) >= 1.153
%patch0 -p1
%patch1 -p1
%patch2 -p0
-%patch3 -p1
%build
cd include