potatogim / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
Justin Vreeland 794d92
#!/bin/sh
Justin Vreeland 794d92
Justin Vreeland 794d92
if [ -z $1 ]; then
Justin Vreeland 794d92
	exit 1
Justin Vreeland 794d92
fi
Justin Vreeland 794d92
Justin Vreeland 794d92
TARGET=$1
Justin Vreeland 794d92
Justin Vreeland 794d92
for i in $RPM_SOURCE_DIR/*.$TARGET; do
Justin Vreeland 794d92
	NEW=${i%.$TARGET}
Justin Vreeland 794d92
	cp $i $NEW
Justin Vreeland 794d92
done