Show More
@@ -174,32 +174,33 b' let' | |||
|
174 | 174 | ''; |
|
175 | 175 | |
|
176 | 176 | postInstall = '' |
|
177 | echo "Writing meta information for rccontrol to nix-support/rccontrol" | |
|
178 | mkdir -p $out/nix-support/rccontrol | |
|
179 | cp -v rhodecode/VERSION $out/nix-support/rccontrol/version | |
|
180 | echo "DONE: Meta information for rccontrol written" | |
|
181 | ||
|
177 | 182 | # python based programs need to be wrapped |
|
183 | ln -s ${self.pyramid}/bin/* $out/bin/ | |
|
184 | ln -s ${self.gunicorn}/bin/gunicorn $out/bin/ | |
|
178 | 185 | ln -s ${self.supervisor}/bin/supervisor* $out/bin/ |
|
179 | ln -s ${self.gunicorn}/bin/gunicorn $out/bin/ | |
|
180 | 186 | ln -s ${self.PasteScript}/bin/paster $out/bin/ |
|
181 | 187 | ln -s ${self.channelstream}/bin/channelstream $out/bin/ |
|
182 | ln -s ${self.pyramid}/bin/* $out/bin/ #*/ | |
|
183 | 188 | |
|
184 | 189 | # rhodecode-tools |
|
185 | # TODO: johbo: re-think this. Do the tools import anything from enterprise? | |
|
186 | 190 | ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/ |
|
187 | 191 | |
|
188 | 192 | # note that condition should be restricted when adding further tools |
|
189 |
for file in $out/bin/*; |
|
|
193 | for file in $out/bin/*; | |
|
194 | do | |
|
190 | 195 | wrapProgram $file \ |
|
196 | --prefix PATH : $PATH \ | |
|
191 | 197 | --prefix PYTHONPATH : $PYTHONPATH \ |
|
192 | --prefix PATH : $PATH \ | |
|
193 | 198 | --set PYTHONHASHSEED random |
|
194 | 199 | done |
|
195 | 200 | |
|
196 | 201 | mkdir $out/etc |
|
197 | 202 | cp configs/production.ini $out/etc |
|
198 | 203 | |
|
199 | echo "Writing meta information for rccontrol to nix-support/rccontrol" | |
|
200 | mkdir -p $out/nix-support/rccontrol | |
|
201 | cp -v rhodecode/VERSION $out/nix-support/rccontrol/version | |
|
202 | echo "DONE: Meta information for rccontrol written" | |
|
203 | 204 | |
|
204 | 205 | # TODO: johbo: Make part of ac-tests |
|
205 | 206 | if [ ! -f rhodecode/public/js/scripts.js ]; then |
General Comments 0
You need to be logged in to leave comments.
Login now