build: Make sure tests/guix-package.sh doesn't leave anything behind it.
authorLudovic Courtès <ludo@gnu.org>
Fri, 10 Oct 2014 12:08:47 +0000 (14:08 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 10 Oct 2014 12:08:59 +0000 (14:08 +0200)
commite25234e34b0d2709e8ff06609cedce2b24b50ee8
tree000c66cf8d98ceea5e98f6807ce577fec4b43af5
parent7313a52e7a465a2c48894658c9fdaa67d9609c86
build: Make sure tests/guix-package.sh doesn't leave anything behind it.

Fixes a regression introduced in commit 300868ba.

* tests/guix-package.sh: Move 'module_dir' definition to the top, and
  "rm -rf" it from the top-most 'trap'.  Remove second use of 'trap'.
tests/guix-package.sh