diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-07-24 17:39:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-07-24 17:39:28 +0000 |
commit | 4daf6b3f120b07ffbb2da94bdb111c02d4d3d706 (patch) | |
tree | c398ee11e0094213896ee33dd756fceaa7df26c9 /sys/arch | |
parent | b55a08c08fdd6452529b7a1197198d1fe8c6328b (diff) |
Use '=' not '==' with test. While ksh accepts '==' as a synomym for '=',
it is not valid in sh.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/stand/Makefile.inc | 4 | ||||
-rw-r--r-- | sys/arch/i386/stand/Makefile.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/Makefile.inc b/sys/arch/amd64/stand/Makefile.inc index 1c59ab6f0b6..58a514b8efa 100644 --- a/sys/arch/amd64/stand/Makefile.inc +++ b/sys/arch/amd64/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.2 2004/07/13 21:03:36 marc Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2004/07/24 17:39:27 millert Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector @@ -29,7 +29,7 @@ SACFLAGS+=-nostdinc -fno-builtin -fpack-struct .if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) .BEGIN: - @([ X$(S) == X -o -h machine ] || ln -s $(S)/arch/amd64/include machine) + @([ X$(S) = X -o -h machine ] || ln -s $(S)/arch/amd64/include machine) .endif diff --git a/sys/arch/i386/stand/Makefile.inc b/sys/arch/i386/stand/Makefile.inc index 694a2787857..537d4862158 100644 --- a/sys/arch/i386/stand/Makefile.inc +++ b/sys/arch/i386/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.35 2004/07/13 21:03:38 marc Exp $ +# $OpenBSD: Makefile.inc,v 1.36 2004/07/24 17:39:27 millert Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector @@ -29,7 +29,7 @@ SACFLAGS+=-nostdinc -fno-builtin -fpack-struct .if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) .BEGIN: - @([ X$(S) == X -o -h machine ] || ln -s $(S)/arch/i386/include machine) + @([ X$(S) = X -o -h machine ] || ln -s $(S)/arch/i386/include machine) .endif |