chengshan / rpms / kernel

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