diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -129,15 +129,15 @@ prepare() { msg2 "Setting config..." # we are in src/linux-x.yy.zz, looking for a config next to the pkgbuild -# if [ -f ${SRCDEST}/config.ck.previous ]; then -# cp ${SRCDEST}/config.ck.previous .config -# else + if [ -f ${SRCDEST}/config.ck.previous ]; then + cp ${SRCDEST}/config.ck.previous .config + else cp ../config.x86_64 .config -# fi + fi make olddefconfig -# make menuconfig + make menuconfig # Remove sublevel when no sublevel exists if [ "$_minver" == "0" ]; then @@ -156,8 +156,8 @@ prepare() { cat ../version.temp | tr -d "\n" > version # back up the config -# msg2 "Backing up config..." -# cp .config ${SRCDEST}/config.ck.previous + msg2 "Backing up config..." + cp .config ${SRCDEST}/config.ck.previous msg2 "Prepared %s version %s" "$pkgbase" "$(<version)" } |