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

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

TARGET=$1

for i in $RPM_SOURCE_DIR/*.$TARGET; do
	NEW=$(echo $i | sed -e "s/\.$TARGET//")
	cp $i $NEW
done