22 Jan
2007
22 Jan
'07
10 p.m.
On Mon, Jan 22, 2007 at 04:45:51PM -0500, Dan McGee wrote:
On 1/22/07, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On 1/22/07, Jürgen Hötzel <juergen@hoetzel.info> wrote:
PKGDEST=${PKGDEST:-$startdir}
instead of hardcoding defaults
PKGDEST=$startdir
I like this solution. It fits with what jason was saying about regen'ing a repo too... export PKGDEST=/foo cd blah && makepkg cd blah && makepkg cd blah && makepkg ... they all go to /foo
This works really well. Where the heck is this magic :- operator documented?
This is not bash specific: POSIX parameter expansion. Jürgen