From 3679024969b9b71c1d53a1d76f1aeb9593404490 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 7 Feb 2016 12:27:40 -0600 Subject: Add a warning when building commands out of pending. --- scripts/make.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/make.sh b/scripts/make.sh index e827a5c9..9fbf086a 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -66,6 +66,11 @@ CFLAGS="$CFLAGS $(cat generated/cflags)" BUILD="$(echo ${CROSS_COMPILE}${CC} $CFLAGS -I . $OPTIMIZE $GITHASH)" FILES="$(echo lib/*.c main.c $TOYFILES)" +if [ "${FILES/pending//}" != "$FILES" ] +then + echo -e "\n\033[1;31mwarning: using unfinished code from toys/pending\033[0m" +fi + genbuildsh() { # Write a canned build line for use on crippled build machines. -- cgit v1.2.3