guix: Refactor script.
authorMathieu Lirzin <mthl@gnu.org>
Tue, 23 Jan 2018 11:52:33 +0000 (12:52 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 23 Jan 2018 14:01:15 +0000 (15:01 +0100)
commit6f774d481839f87178c5895ac2d661e141f879b8
treed5fa26bd53d4f4132eab14155b409a7b3f85e878
parent1b5bee004bc2558ecb45877645edb9abb0571591
guix: Refactor script.

* scripts/guix.in: Remove empty surrounding ‘let’.  Define 'main' as the
procedure called when running the script.
(maybe-augment-load-paths!): Rename to ...
(augment-load-paths!): ... this.  Use 'and=>' for 'file-exists?'.
(run-guix-main): Rename to ...
(main): ... this.  Call 'augment-load-paths!'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
scripts/guix.in