fanghuilin / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
f2c60e
#!/bin/sh
f2c60e
f2c60e
for i in kernel-*debug.config; do
f2c60e
	base=`echo $i | sed -r s/-?debug//g`
f2c60e
	NEW=kernel-$VERSION-`echo $base | cut -d - -f2-`
f2c60e
	mv $i $NEW
f2c60e
	rm $base
f2c60e
done