chengshan / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
Blob Blame History Raw
#!/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