The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 744bb161 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Adjust unpack directory for Solr installation. (#1152)

- Use builddir instead of bare /tmp to make sure it's a directory and not a symlink that phing would choke on.
parent fdb49b7a
No related merge requests found
......@@ -180,9 +180,10 @@
</then>
</if>
<!-- unpack the archive into solr/vendor -->
<untar file="${srcdir}/downloads/solr-${solr_version}.tgz" todir="${tmp}" />
<mkdir dir="${builddir}/solr" />
<untar file="${srcdir}/downloads/solr-${solr_version}.tgz" todir="${builddir}/solr" />
<delete dir="${srcdir}/solr/vendor" includeemptydirs="true" failonerror="false" />
<move file="${tmp}/solr-${solr_version}" tofile="${srcdir}/solr/vendor" />
<move file="${builddir}/solr/solr-${solr_version}" tofile="${srcdir}/solr/vendor" />
<!-- make scripts executable -->
<chmod mode="0755">
<fileset dir="${srcdir}/solr/vendor/bin">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment