Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-kernel-config
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-04 21:22:08 +0200
committerErich Eckner <git@eckner.net>2018-06-04 21:22:08 +0200
commit932af82993d16f54e474e47978362d80d3a4a79d (patch)
tree8b146dcff52772f629784f12ff60b7af73c2f6db /update-kernel-config
parent040e270302daa6976d7e2ecd68543f3977aa4e3a (diff)
github.com -> git.archlinux32.org
Diffstat (limited to 'update-kernel-config')
-rwxr-xr-xupdate-kernel-config10
1 files changed, 5 insertions, 5 deletions
diff --git a/update-kernel-config b/update-kernel-config
index 3962426..37e414c 100755
--- a/update-kernel-config
+++ b/update-kernel-config
@@ -10,7 +10,7 @@ old_revision=$(
s/^# upstream git\( revision\)\?: *//
T
p
- ' "/usr/src/github/archlinux32/packages/$1/$2/PKGBUILD"
+ ' "/usr/src/archlinux32/packages/$1/$2/PKGBUILD"
)
if [ -z "${old_revision}" ]; then
@@ -38,7 +38,7 @@ fi
T
p
'
- )" "/usr/src/github/archlinux32/packages/$1/$2/config"
+ )" "/usr/src/archlinux32/packages/$1/$2/config"
printf '%s\n' "${diff}" | \
sed -n '
s/^+//
@@ -46,7 +46,7 @@ fi
p
'
} | \
- sponge "/usr/src/github/archlinux32/packages/$1/$2/config"
+ sponge "/usr/src/archlinux32/packages/$1/$2/config"
sed -i '
1 s/^#.*$/# upstream git revision: '"$(
@@ -64,9 +64,9 @@ sed -i '
awk '{print $1}'
)"'/g
s/'"$(
- git -C "/usr/src/github/archlinux32/packages/$1/$2" archive HEAD -- config | \
+ git -C "/usr/src/archlinux32/packages/$1/$2" archive HEAD -- config | \
tar -Ox | \
sha256sum | \
awk '{print $1}'
)"'/SKIP/g
-' "/usr/src/github/archlinux32/packages/$1/$2/PKGBUILD"
+' "/usr/src/archlinux32/packages/$1/$2/PKGBUILD"