linuxtorvalds / rpms / kernel

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