From b099a5a77868d8e8df2338c2f2201fa8f8da58ce Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Fri, 17 Sep 2021 17:51:09 -0700 Subject: [PATCH] Fix distribute.sh script to generate cosmopolitan.h --- tool/scripts/distribute.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/scripts/distribute.sh b/tool/scripts/distribute.sh index a9ce9f1b3..1f4b91d6e 100755 --- a/tool/scripts/distribute.sh +++ b/tool/scripts/distribute.sh @@ -1,8 +1,8 @@ #!/bin/sh set -ex -rm -f o/ansi/.cosmopolitan.h o/ansi/cosmopolitan.h -make -j12 o/ansi/cosmopolitan.h MODE=ansi +rm -f o/.cosmopolitan.h o/cosmopolitan.h +make -j12 o/cosmopolitan.h make -j12 o//libc/crt/crt.o o//ape/ape.o o//ape/ape.lds make -j12 o//cosmopolitan.a @@ -19,7 +19,7 @@ cp o//ape/ape.o \ echo '#ifdef __cplusplus' echo 'extern "C" {' echo '#endif' - cat o/ansi/cosmopolitan.h + cat o/cosmopolitan.h echo '#ifdef __cplusplus' echo '} /* extern C */' echo '#endif'