44a40b
#!/bin/sh
44a40b
44a40b
if [ -z "$1" ]; then
44a40b
	exit 1
44a40b
fi
44a40b
44a40b
TARGET="$1"
44a40b
44a40b
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
44a40b
	NEW=${i%.$TARGET}
44a40b
	cp "$i" "$NEW"
44a40b
done