diff options
author | Rubba Reduppa | 2011-09-20 23:09:21 -0700 |
---|---|---|
committer | yar | 2015-07-03 16:58:13 -0700 |
commit | 57f5c7936ef5c7a0fe0530e329be98f3e3161bdb (patch) | |
tree | 27ccf15140dd59921d67fce40797dbe9821e68a8 /nconfig-wrapper | |
parent | 0c47b3b65d0547cc9d62b0a798a2edf0e6ae73c9 (diff) | |
download | aur-57f5c7936ef5c7a0fe0530e329be98f3e3161bdb.tar.gz |
partial reversion of previous commit - proper version
I had believed 3.0.4 was the same as 3.1-rc4, which was stupid.
Linus' github repo does NOT track or offer the STABLE releases - those are done elsewhere
So we must use a 3rd-party mirror.
Diffstat (limited to 'nconfig-wrapper')
-rwxr-xr-x | nconfig-wrapper | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nconfig-wrapper b/nconfig-wrapper index 1a030b55886a..42af14ea87dd 100755 --- a/nconfig-wrapper +++ b/nconfig-wrapper @@ -8,7 +8,9 @@ croak() { echo "ERROR: $@"; exit; } [ -f /usr/share/ppz/bash.functions ] && . /usr/share/ppz/bash.functions [ "$1" ] && REPO="$1" || croak USAGE: ./package-this [repo-directory] [ -d ${REPO} ] || croak ${REPO} not mounted! -ldir=src/torvalds-linux-897e5ed + +eval $(awk '/^(pkgver|_basekernel)=/ {print}' PKGBUILD) +ldir=src/linux-$pkgver makepkg -oecd mold=($(md5sum config.x86_64)) @@ -21,7 +23,7 @@ cd ../.. diff config.x86_64 $ldir/.config askyn "update package?" && { - cat config.x86_64 > $ldir/.config + cat $ldir/.config > config.x86_64 mnew=($(md5sum config.x86_64)) sed -i s_${mold[0]}_${mnew[0]}_ig PKGBUILD pkgrel=0 |