guix build: Gracefully handle invalid '--with-git-url' specs.
authorLudovic Courtès <ludo@gnu.org>
Tue, 14 May 2019 10:08:03 +0000 (12:08 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 14 May 2019 10:11:05 +0000 (12:11 +0200)
commit45d41c035ec23d68f67b69255a5ab8f02b42a5ed
tree2e3775be2d60e8c3575e240d33e7dfc790608ae8
parentdcc3d4030fcdc83f10220a061f4b7e306a99a439
guix build: Gracefully handle invalid '--with-git-url' specs.

* guix/scripts/build.scm (transform-package-source-git-url): Add case
for when 'string-split' does not return exactly two elements.
guix/scripts/build.scm