lynxis lazus submitted this change.
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(-)
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 change 29241. To unsubscribe, or for help writing mail filters, visit settings.