diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2015-10-15T18·29-0700 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2015-10-15T18·53-0700 |
commit | a7dd26961db0a08ff628ed1e72048c65128b9ca1 (patch) | |
tree | 4b81d4527825aac5e0f6c74c4c3f26848d9eb36c /release.nix | |
parent | 164487a5ba568fa344fae9f4b9515b351da430b6 (diff) |
Don't depend on git when generating source tarball
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release.nix b/release.nix index dd5f1c4d37bc..4459bf165a50 100644 --- a/release.nix +++ b/release.nix @@ -36,7 +36,9 @@ let postUnpack = '' # Clean up when building from a working tree. - git -C $sourceRoot clean -fd + if [[ -d $sourceRoot/.git ]]; then + git -C $sourceRoot clean -fd + fi ''; preConfigure = '' |