lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/29241 )
Change subject: contrib/generate_build_dep.sh: remove erlang bytecode from checkouts ......................................................................
contrib/generate_build_dep.sh: remove erlang bytecode from checkouts
The checkout directory should only contains source and no erlang bytecode. Otherwise it might not compile when creating the build_dep.tar.gz on a machine with newer erlang and try to build the package on a system with older erlang.
Change-Id: I101119392c6d0fad264c2551fded10288c87da5e --- M contrib/generate_build_dep.sh 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/41/29241/1
diff --git a/contrib/generate_build_dep.sh b/contrib/generate_build_dep.sh index 2c0dc81..44b7b4d 100755 --- a/contrib/generate_build_dep.sh +++ b/contrib/generate_build_dep.sh @@ -14,4 +14,6 @@ mkdir _checkouts mv ./_build/default/lib/* _checkouts/ mv ./_build/default/plugins/* _checkouts/ +# delete erlang bytecode +find _checkouts/ -iname '*beam' -delete tar czf build_dep.tar.gz ./_checkouts