summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBazaah2019-11-06 20:45:23 +0000
committerBazaah2019-11-06 20:45:23 +0000
commit7982896fb6e3d1cf9d371371f4f2075b669cf9eb (patch)
tree90ef354eeb1183a5eaa3287384014843933212aa
parenta9f6a69cf1e956217cdbd8c6605fb22fa0b3dfe8 (diff)
downloadaur-7982896fb6e3d1cf9d371371f4f2075b669cf9eb.tar.gz
fix variable
-rwxr-xr-xupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 9affc30a755..c87858ac938 100755
--- a/update.sh
+++ b/update.sh
@@ -40,8 +40,8 @@ else
echo "Version changed, updating PKG version & setting PKG release to 1..."
for file in $(find . -maxdepth 1 -type f -name 'PKGBUILD' -or -name '.SRCINFO'); do
- sed -i -E "s/(pkgver\s*=\s*).*/\1${LATEST}/" ./PKGBUILD
- sed -i -E "s/(pkgrel\s*=\s*).*/\11/" ./PKGBUILD
+ sed -i -E "s/(pkgver\s*=\s*).*/\1${LATEST}/" $file
+ sed -i -E "s/(pkgrel\s*=\s*).*/\11/" $file
done
git commit --all --message "$LATEST"