haiku/build/scripts/rm_attrs
2013-06-06 00:17:02 +02:00

16 lines
143 B
Bash
Executable File

#!/bin/sh
if [ $# -lt 2 ]; then
echo "$0: Usage:..."
exit 1;
fi
rmAttrs=$1
shift
if [ -f $rmAttrs ]; then
$rmAttrs "$@"
else
rm "$@"
fi