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.a' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8############################################################################
 9#delete one member
10
11cp master.a file.a
12
13$EXEC scc ar -dv file.a file2
14
15if $EXEC scc ar -tv file.a file2
16then
17	echo file-2 was not deleted >&2
18	exit 1
19fi