summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-06-19 22:33:57 +0200
committerAllan McRae <allan@archlinux.org>2018-08-10 04:37:20 +0200
commite4be26b7327d8378735205ebedfc9718fb6fbba1 (patch)
treeee7df1988058c3e7066f278c6486cdcc6b044623 /scripts/libmakepkg
parent4e83abaae51c82ce6571450fb3ed9e2e71175b68 (diff)
downloadpacman-e4be26b7327d8378735205ebedfc9718fb6fbba1.tar.gz
pacman-e4be26b7327d8378735205ebedfc9718fb6fbba1.tar.xz
scripts: Remove trailing semicolons
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg')
-rw-r--r--scripts/libmakepkg/integrity/verify_signature.sh.in2
-rw-r--r--scripts/libmakepkg/util/util.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/libmakepkg/integrity/verify_signature.sh.in b/scripts/libmakepkg/integrity/verify_signature.sh.in
index ea877822..b5f9eee9 100644
--- a/scripts/libmakepkg/integrity/verify_signature.sh.in
+++ b/scripts/libmakepkg/integrity/verify_signature.sh.in
@@ -137,7 +137,7 @@ verify_file_signature() {
for ext in "" gz bz2 xz lrz lzo Z; do
if sourcefile="$(get_filepath "${file%.*}${ext:+.$ext}")"; then
found=1
- break;
+ break
fi
done
if (( ! found )); then
diff --git a/scripts/libmakepkg/util/util.sh.in b/scripts/libmakepkg/util/util.sh.in
index 0fb89186..c2f5897e 100644
--- a/scripts/libmakepkg/util/util.sh.in
+++ b/scripts/libmakepkg/util/util.sh.in
@@ -51,7 +51,7 @@ is_array() {
# Canonicalize a directory path if it exists
canonicalize_path() {
- local path="$1";
+ local path="$1"
if [[ -d $path ]]; then
(