← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~rharding/launchpad/no_more_tmp into lp:launchpad

 

Richard Harding has proposed merging lp:~rharding/launchpad/no_more_tmp into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~rharding/launchpad/no_more_tmp/+merge/116663

Per request from William, moved the extraction directory out of the system /tmp and into the build directory.
-- 
https://code.launchpad.net/~rharding/launchpad/no_more_tmp/+merge/116663
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~rharding/launchpad/no_more_tmp into lp:launchpad.
=== modified file 'buildout.cfg'
--- buildout.cfg	2012-07-18 17:36:00 +0000
+++ buildout.cfg	2012-07-25 14:33:37 +0000
@@ -43,9 +43,9 @@
 command =
     mkdir -p ${buildout:yui-directory}/yui-${:yui_version}
     rm -rf ${buildout:yui-directory}/yui-${:yui_version}/*
-    unzip -q download-cache/dist/yui_${:yui_version}.zip -d /tmp/yui-${:yui_version}
-    mv /tmp/yui-${:yui_version}/yui/build/* ${buildout:yui-directory}/yui-${:yui_version}
-    rm -rf /tmp/yui-${:yui_version}
+    unzip -q download-cache/dist/yui_${:yui_version}.zip -d ${buildout:yui-directory}/yui-${:yui_version}.zip
+    mv ${buildout:yui-directory}/yui-${:yui_version}.zip/yui/build/* ${buildout:yui-directory}/yui-${:yui_version}
+    rm -rf ${buildout:yui-directory}/yui-${:yui_version}.zip
 
 [yui-default]
 <= yui


Follow ups