summaryrefslogtreecommitdiff
path: root/update-kernel-config
diff options
context:
space:
mode:
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"