makepkg: compare paths using bash test
commit960c2cdcf7583251592b02c41161cea65eba28fd
authorAllan McRae <allan@archlinux.org>
Mon, 4 Oct 2010 08:42:10 +0000 (4 18:42 +1000)
committerDan McGee <dan@archlinux.org>
Tue, 5 Oct 2010 16:03:06 +0000 (5 11:03 -0500)
treed787d5c7d77a6947e6d3459cd953f1ab0f7877ef
parentf2296aab89b12fe49204fba8f62dc8dd2d9e05eb
makepkg: compare paths using bash test

Compare paths using bash's "-ef" rather than by string tests as this
takes symlinks into account.  This will prevent issues similar to those
in FS#20922 if (e.g.) $PKGDEST is a symlink to $startdir.

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