kernel/generate_debug_configs.sh

9 lines
160 B
Bash
Raw Normal View History

2017-02-20 19:20:23 +00:00
#!/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