pacman/scripts
Eli Schwartz 817f9fb715 makepkg: guard against undefined git pinned sources
If something like source=(..."#commit=") is used, e.g. due to failed
variable expansion, we try to check out an empty refspec as nothing at
all, and end up just running "git checkout". This happens because we
fail at variable expansion too -- so let's quote our variables properly
and make sure git sees this as an empty refspec, so it can error out.

Also make sure it is interpreted as a ref instead of a path.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2020-06-11 10:50:52 +10:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg: guard against undefined git pinned sources 2020-06-11 10:50:52 +10:00
po scripts/library: remove human_to_size 2019-11-06 15:52:21 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
makepkg-template.pl.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
makepkg.sh.in Revert "makepkg: drop duplicate reporting of missing dependencies" 2020-06-11 10:27:54 +10:00
meson.build meson: make non-symlink scripts install for real, and use a better wrapper 2019-11-26 10:49:57 +10:00
pacman-db-upgrade.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
pacman-key.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
repo-add.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
wrapper.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00