From 4643b181bdf1d9121f9d6d4214e991e7b9f52d30 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 1 Jan 2002 21:57:28 +0000 Subject: Change all 'cd ; bar' constructs to 'cd && bar' for proper error checking -Erik --- libc/sysdeps/linux/i386/Makefile | 4 ++-- libc/sysdeps/linux/m68k/Makefile | 4 ++-- libc/sysdeps/linux/mips/Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile index 4a333801f..6178c662c 100644 --- a/libc/sysdeps/linux/i386/Makefile +++ b/libc/sysdeps/linux/i386/Makefile @@ -74,8 +74,8 @@ $(COBJS): %.o : %.c headers: @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h ) - cd $(TOPDIR)/include/sys;ln -fs ../../libc/sysdeps/linux/i386/vm86.h . - cd $(TOPDIR)/include/sys;ln -fs ../../libc/sysdeps/linux/i386/reg.h . + cd $(TOPDIR)/include/sys && ln -fs ../../libc/sysdeps/linux/i386/vm86.h . + cd $(TOPDIR)/include/sys && ln -fs ../../libc/sysdeps/linux/i386/reg.h . clean: diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index ae81e2230..701f339dd 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -72,10 +72,10 @@ $(COBJS): %.o : %.c headers: @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h ) - cd $(TOPDIR)/include/sys;ln -fs ../../libc/sysdeps/linux/m68k/reg.h . + cd $(TOPDIR)/include/sys && ln -fs ../../libc/sysdeps/linux/m68k/reg.h . ifeq ($(strip $(HAVE_ELF)),false) echo "Working around compiler bug in the m68k-pic-coff toolchain" - cd $(TOPDIR)/include;ln -fs ../libc/sysdeps/linux/m68k/float.h . + cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/m68k/float.h . endif diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile index 18a0e5f68..2d881d774 100644 --- a/libc/sysdeps/linux/mips/Makefile +++ b/libc/sysdeps/linux/mips/Makefile @@ -74,7 +74,7 @@ $(COBJS): %.o : %.c headers: @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h ) - cd $(TOPDIR)/include;ln -fs ../libc/sysdeps/linux/mipsel/sgidefs.h . + cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/mipsel/sgidefs.h . clean: rm -f *.[oa] *~ core -- cgit v1.2.3