From: <smi...@us...> - 2003-12-29 23:37:52
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv8114/scripts Modified Files: menuconfig Log Message: menuconfig now make sure that the each config option is only once in the .config file Index: menuconfig =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/menuconfig,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- menuconfig 2 Oct 2003 17:29:35 -0000 1.26 +++ menuconfig 29 Dec 2003 23:37:49 -0000 1.27 @@ -29,7 +29,13 @@ fi if [ -f $BUILD_CONFIG ]; then - cp $BUILD_CONFIG $BUILD_CONFIG-tmp + rm $BUILD_CONFIG-tmp + source $BUILD_CONFIG + for CFG in $(cat $BUILD_CONFIG | cut -d= -f1 | sort -u) + do + eval VALUE=\$$CFG + echo $CFG=$VALUE >> $BUILD_CONFIG-tmp + done else echo "# Devil-Linux config file for optional packages" > $BUILD_CONFIG-tmp fi |