makepkg: canonicalize paths from environmental variables
commitc0f58ea9a22c64e42b6784663ceb7272565428f5
authorAllan McRae <allan@archlinux.org>
Wed, 29 Sep 2010 12:24:07 +0000 (29 22:24 +1000)
committerDan McGee <dan@archlinux.org>
Tue, 5 Oct 2010 16:03:28 +0000 (5 11:03 -0500)
treedc107d8c38a36bb67d277fa89fec0d0c68170d9f
parent960c2cdcf7583251592b02c41161cea65eba28fd
makepkg: canonicalize paths from environmental variables

This prevents circular symlinks and weird final package locations
when using commands like  'PKGDEST="." makepkg'.

Fixes FS#20922.

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