summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-05-29 19:07:47 +0200
committerAllan McRae <allan@archlinux.org>2018-06-18 05:15:51 +0200
commit9eb3695a3ff850b9dff66d667a4b27be1a233f42 (patch)
tree35b73ead30b4764293de1f492e7753afe1ef935b /scripts
parent3a66b93be00b7a6b01a295bc203f91e663a133db (diff)
downloadpacman-9eb3695a3ff850b9dff66d667a4b27be1a233f42.tar.gz
pacman-9eb3695a3ff850b9dff66d667a4b27be1a233f42.tar.xz
makepkg: remove unused variable forgotten when moving to parseopts
Reported-by: Rafael Ascensão <rafa.almas@gmail.com> Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index d3527fb1..9e4e5623 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1286,7 +1286,7 @@ while true; do
-h|--help) usage; exit $E_OK ;;
-V|--version) version; exit $E_OK ;;
- --) OPT_IND=0; shift; break ;;
+ --) shift; break ;;
esac
shift
done