summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-01-05 19:45:43 -0300
committerDavid P <megver83@parabola.nu>2018-01-05 19:48:48 -0300
commitea466373788409c3db888022adc1fff3c63a8d79 (patch)
tree46b0ae16c6b190c8a562cfdb509bede931bc2ceb /libre
parentd4d4f735318274831a6e7ee865b43debd9fc2202 (diff)
downloadabslibre-ea466373788409c3db888022adc1fff3c63a8d79.tar.gz
abslibre-ea466373788409c3db888022adc1fff3c63a8d79.tar.bz2
abslibre-ea466373788409c3db888022adc1fff3c63a8d79.zip
libre/linux-libre: remove CARCH variables at prepare()'s sed exps
and kernels/linux-libre-lts-xtreme config files
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 9a03b3ee6..ddcb8831d 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -147,8 +147,8 @@ prepare() {
cp -Tf ../config.${CARCH} .config
if [ "${_kernelname}" != "" ]; then
- sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config.${CARCH}
- sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config.${CARCH}
+ sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
+ sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
fi
# append pkgrel to extraversion