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#empty file list
10
11rm -f file.a
12$EXEC scc ar -qv file.a
13if ! test -f file.a
14then
15	echo "ar -q didn't generated empty archive" >&2
16	exit 1
17fi