summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
blob: 38e66347f58dd12e2f73e86ac217a81b9bafec4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

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

TARGET="$1"

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