Justin Vreeland 794355
#!/bin/sh
Justin Vreeland 794355
Justin Vreeland 794355
if [ -z "$1" ]; then
Justin Vreeland 794355
	exit 1
Justin Vreeland 794355
fi
Justin Vreeland 794355
Justin Vreeland 794355
TARGET="$1"
Justin Vreeland 794355
Justin Vreeland 794355
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
Justin Vreeland 794355
	NEW=${i%.$TARGET}
bde051
	cp "$i" "$(basename "$NEW")"
Justin Vreeland 794355
done