makepkg: modify get_filepath to handle VCS sources
commitcca9849fc25012845b08ce877f9450e45c9d207d
authorAllan McRae <allan@archlinux.org>
Mon, 4 Jun 2012 02:02:36 +0000 (4 12:02 +1000)
committerAllan McRae <allan@archlinux.org>
Fri, 3 Aug 2012 14:16:38 +0000 (4 00:16 +1000)
tree5ec9a1b6660ca42de2f833b9817cb0c9787366cd
parentaa6fe1160b39cd364a6595b7c9f56acb1cea3432
makepkg: modify get_filepath to handle VCS sources

With VCS sources, get_filepath should return the directory of the
checkout. This allows backing up of the VCS checkout when using
--allsource.  Fixes FS#21098.

Signed-off-by: Allan McRae <allan@archlinux.org>
scripts/makepkg.sh.in