<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8880">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">build_tools: Don't delete staging directory after every build<br><br>Change-Id: Id6665c6c1474c579f3bcad386c34335b260d8b33<br>---<br>M build_tools/make_stage<br>1 file changed, 8 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/80/8880/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/build_tools/make_stage b/build_tools/make_stage<br>index f2ab484..b2dbcbb 100755<br>--- a/build_tools/make_stage<br>+++ b/build_tools/make_stage<br>@@ -58,9 +58,14 @@<br> tarball=${package_dir}.tar.gz<br> <br> svn ls ${stagedir} &> /dev/null || svn mkdir --parents ${stagedir} -m "Create staging directory"<br>-rm -rf staging<br>-svn co ${stagedir} staging<br>-trap "rm -rf staging" EXIT<br>+if [ -d staging/.svn ] ; then<br>+ pushd staging<br>+        svn update<br>+   popd staging<br>+else<br>+  rm -rf staging &>/dev/null || :<br>+       svn co ${stagedir} staging<br>+fi<br> <br> cp ${tarball} staging/<br> tar --strip-components=1 -xzf ${tarball} -O ${package_dir}/manifest.xml > staging/manifest${variant:+-${variant}}.xml<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8880">change 8880</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8880"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: repotools </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id6665c6c1474c579f3bcad386c34335b260d8b33 </div>
<div style="display:none"> Gerrit-Change-Number: 8880 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>