jfaracco / rpms / kernel-auto

Forked from rpms/kernel-auto 3 years ago
Clone

Blame update_scripts.sh

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