diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-01-01 17:04:34 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-01-17 21:30:18 (GMT) |
commit | ffa25d96fed4fa304d5c7a27f791b3dbfa462918 (patch) | |
tree | a8850ef2ee09f538123fb60d892bd43944f05751 /tools | |
parent | 0d0be19c2a805cdef04235a556cc068a97671ecf (diff) | |
download | mxe-ffa25d96fed4fa304d5c7a27f791b3dbfa462918.zip mxe-ffa25d96fed4fa304d5c7a27f791b3dbfa462918.tar.gz mxe-ffa25d96fed4fa304d5c7a27f791b3dbfa462918.tar.bz2 |
build-pkg: make sure usr/.git doesn't exist
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-pkg.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index 2b16364..01db283 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -818,6 +818,7 @@ local function makeMxeSourcePackage() makePackage(name, files, deps, ver, d1, d2) end +assert(not io.open('usr/.git'), 'Remove usr/') assert(trim(shell('pwd')) == MXE_DIR, "Clone MXE to " .. MXE_DIR) assert(execute(("%s check-requirements"):format(tool 'make'))) |