scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3trap 'rm -f $tmp1' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp1=tmp1.$$
 7
 8$EXEC scc make -if test.mk error print-makeflags 2>&1 |
 9sed 's/sh:.*: *no-/sh: no-/' > $tmp1 2>&1
10
11diff $tmp1 - <<EOF
12no-valid-program
13sh: no-valid-program: not found
14-i
15EOF