summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
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/makepkg.sh.in
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/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index bf31786b..2ac1bbca 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -500,13 +500,13 @@ run_package() {
}
find_libdepends() {
- local d sodepends;
+ local d sodepends
- sodepends=0;
+ sodepends=0
for d in "${depends[@]}"; do
if [[ $d = *.so ]]; then
- sodepends=1;
- break;
+ sodepends=1
+ break
fi
done
@@ -515,8 +515,8 @@ find_libdepends() {
return 0
fi
- local libdeps filename soarch sofile soname soversion;
- declare -A libdeps;
+ local libdeps filename soarch sofile soname soversion
+ declare -A libdeps
while read -r filename; do
# get architecture of the file; if soarch is empty it's not an ELF binary
@@ -1238,7 +1238,7 @@ OPT_LONG=('allsource' 'check' 'clean' 'cleanbuild' 'config:' 'force' 'geninteg'
OPT_LONG+=('asdeps' 'noconfirm' 'needed' 'noprogressbar')
if ! parseopts "$OPT_SHORT" "${OPT_LONG[@]}" -- "$@"; then
- exit $E_INVALID_OPTION;
+ exit $E_INVALID_OPTION
fi
set -- "${OPTRET[@]}"
unset OPT_SHORT OPT_LONG OPTRET