Merge lp:~rharding/launchpad/fixyui into lp:launchpad

Proposed by Richard Harding
Status: Work in progress
Proposed branch: lp:~rharding/launchpad/fixyui
Merge into: lp:launchpad
Diff against target: 17 lines (+4/-3)
1 file modified
buildout.cfg (+4/-3)
To merge this branch: bzr merge lp:~rharding/launchpad/fixyui
Reviewer Review Type Date Requested Status
Launchpad code reviewers Pending
Review via email: mp+115324@code.launchpad.net

Commit message

Extra YUI to an internal directory vs the system tmp dir.

Description of the change

The branch to fix allowing switching YUI verions via feature flag expanded into /tmp which wasn't allowed on QA Staging. This moves it to an internal temp directory to avoid that issue.

To post a comment you must log in.

Unmerged revisions

15637. By Richard Harding

Leave the system tmp alone

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'buildout.cfg'
2--- buildout.cfg 2012-07-16 15:41:14 +0000
3+++ buildout.cfg 2012-07-17 12:09:19 +0000
4@@ -43,9 +43,10 @@
5 command =
6 mkdir -p ${buildout:yui-directory}/yui-${:yui_version}
7 rm -rf ${buildout:yui-directory}/yui-${:yui_version}/*
8- unzip -q download-cache/dist/yui_${:yui_version}.zip -d /tmp/yui-${:yui_version}
9- mv /tmp/yui-${:yui_version}/yui/build/* ${buildout:yui-directory}/yui-${:yui_version}
10- rm -rf /tmp/yui-${:yui_version}
11+ mkdir -p ${buildout:yui-directory}/tmp
12+ unzip -q download-cache/dist/yui_${:yui_version}.zip -d ${buildout:yui-directory}/tmp/yui-${:yui_version}
13+ mv ${buildout:yui-directory}/tmp/yui-${:yui_version}/yui/build/* ${buildout:yui-directory}/yui-${:yui_version}
14+ rm -rf ${buildout:yui-directory}/tmp
15
16 [yui-default]
17 <= yui