scc

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

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

 1#!/bin/sh
 2
 3set -e
 4
 5trap 'rm -f file* $tmp1' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8tmp1=tmp1.$$
 9tmp2=tmp2.$$
10
11############################################################################
12#Update without parameters
13
14cp master.a file.a
15$EXEC scc ar -rv file.a
16
17$EXEC scc ar -t file.a > $tmp1
18diff -u $tmp1 - <<EOF
19file1
20file2
21file3
22EOF