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