9 lines
160 B
Bash
9 lines
160 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
for i in kernel-*debug.config; do
|
||
|
base=`echo $i | sed -r s/-?debug//g`
|
||
|
NEW=kernel-$VERSION-`echo $base | cut -d - -f2-`
|
||
|
mv $i $NEW
|
||
|
rm $base
|
||
|
done
|