[pacman-dev] [PATCH] makepkg: remove unused variable forgotten when moving to parseopts
Eli Schwartz
eschwartz at archlinux.org
Tue May 29 17:07:47 UTC 2018
Reported-by: Rafael Ascensão <rafa.almas at gmail.com>
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
scripts/makepkg.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index eec62de5..27245ea8 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1287,7 +1287,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
--
2.17.0
More information about the pacman-dev
mailing list