[zorg] r281133 - Fix bot error causing tar creation to fail
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 21:28:59 PDT 2016
Author: cmatthews
Date: Fri Sep 9 23:28:59 2016
New Revision: 281133
URL: http://llvm.org/viewvc/llvm-project?rev=281133&view=rev
Log:
Fix bot error causing tar creation to fail
The order of these arguements matters more than I knew! This caused
the bot to use the exclude as the filename, so reorder the arguments
so the file name and the exclude are themselves.
Modified:
zorg/trunk/zorg/jenkins/build.py
Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=281133&r1=281132&r2=281133&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Fri Sep 9 23:28:59 2016
@@ -673,7 +673,7 @@ def build_upload_artifact():
prop_fd.write("ARTIFACT={}\n".format(new_url))
# The .a's are big and we don't need them later. Drop them.
- tar = ["tar", "zcvf", '--exclude=*.a', "../" + artifact_name, "."]
+ tar = ["tar", "zcvf", "../" + artifact_name, '--exclude=*.a', "."]
run_cmd(conf.installdir(), tar)
More information about the llvm-commits
mailing list