xref: /haiku/build/scripts/rm_attrs (revision 0fae96c5a349db3761ac2a4ab4a7fbbf23a3b76c)
1#!/bin/sh
2
3set -e
4
5if [ $# -lt 2 ]; then
6	echo "$0: Usage:..."
7	exit 1
8fi
9
10rmAttrs=$1
11shift
12
13if [ -f $rmAttrs ]; then
14	$rmAttrs "$@"
15else
16	rm "$@"
17fi
18