wohali commented on a change in pull request #40: Detect Arch Support
URL: https://github.com/apache/couchdb-pkg/pull/40#discussion_r240676292
##########
File path: Makefile
##########
@@ -154,10 +154,12 @@ build-rpm:
# ######################################
copy-pkgs:
- -chmod a+rwx ../rpmbuild/RPMS/x86_64/couchdb-* ../couchdb/couchdb_*
2>/dev/null
- -mkdir -p pkgs/couch/$(DIST) && chmod 777 pkgs/couch/$(DIST)
- -cp ../rpmbuild/RPMS/x86_64/couchdb-* pkgs/couch/$(DIST) 2>/dev/null
- -cp ../couchdb/couchdb_* pkgs/couch/$(DIST) 2>/dev/null
+ if [ "$(shell arch)" = "x84_64" ]; then
\
Review comment:
Our successful runs def. have the "Error 1 (ignored)" in them - success is
predicated on the presence of the package file in the output directory outside
of the Docker container. The chmod is to ensure we can actually modify the
files outside of the build directory...
Happy to see an improvement, looking forward to your changes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services