lynxis lazus has submitted this change. ( 
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(-)

Approvals:
  fixeria: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



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

--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/29241
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I101119392c6d0fad264c2551fded10288c87da5e
Gerrit-Change-Number: 29241
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to