1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00
pacman/scripts
Mohammad Alsaleh c926c39b04 makepkg: check if $dir is a local clone of the right git repo
Before this patch, makepkg does not check if $dir is a local clone of
the right repo.

For example, git fetch would be run even if $dir is not a local
bare clone of a git repo in present in source(), but a subdir of
a checked-out one. That means makepkg can potentially fetch from
a completely unrelated remote and update completely unrelated
dirs/files.

This patch adds a check to make sure we are fetching from the right
remote.

Signed-off-by: Mohammad Alsaleh <msal@i2pmail.org>
2012-09-18 08:39:18 -05:00
..
library paccache: adopt size_to_human 2012-06-25 23:39:46 -05:00
po Merge branch 'maint' 2012-05-20 17:41:21 -05:00
.gitignore rankmirrors: move to contrib/ 2012-04-24 20:33:08 -04:00
Makefile.am scripts/library: add size_to_human 2012-06-25 23:39:34 -05:00
makepkg.sh.in makepkg: check if $dir is a local clone of the right git repo 2012-09-18 08:39:18 -05:00
pacman-db-upgrade.sh.in Merge branch 'maint' 2012-01-30 22:00:26 -06:00
pacman-key.sh.in pacman-key: Use lsign_keys function in --populate 2012-08-02 09:46:16 -05:00
pacman-optimize.sh.in pacman-optimize: standardize on openssl usage, only touch local/ 2012-03-08 17:26:23 -06:00
pkgdelta.sh.in pkgdelta: pass correct args to create_delta 2012-09-18 08:30:17 -05:00
repo-add.sh.in repo-add: add checkdepends information 2012-06-25 23:08:15 -05:00