alexl / rpms / kernel-automotive

Forked from rpms/kernel-automotive 2 years ago
Clone
Blob Blame History Raw
#!/bin/sh

if [ -z "$1" ]; then
	exit 1
fi

TARGET="$1"

for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
	NEW=${i%.$TARGET}
	cp "$i" "$NEW"
done