summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-01 21:57:28 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-01 21:57:28 +0000
commit4643b181bdf1d9121f9d6d4214e991e7b9f52d30 (patch)
treec5615b9d242314847c555255c4e57f195c3444ad /libc/sysdeps/linux
parent01d1ae3769f7fb1fa66dbc0789a61b05fee3452f (diff)
Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' for
proper error checking -Erik
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/i386/Makefile4
-rw-r--r--libc/sysdeps/linux/m68k/Makefile4
-rw-r--r--libc/sysdeps/linux/mips/Makefile2
3 files changed, 5 insertions, 5 deletions
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