Skip to content

Commit

Permalink
Merge pull request #2475 from adriaanm/build-relative-symlink
Browse files Browse the repository at this point in the history
use relative symlink in distpack
  • Loading branch information
adriaanm committed May 2, 2013
2 parents 132a732 + 83c059d commit 98972c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/build/pack.xml
Expand Up @@ -112,8 +112,10 @@ MAIN DISTRIBUTION PACKAGING
</target>

<target name="pack-archives.latest.unix" depends="pack-archives.src" unless="os.win">
<!-- be sure to use a relative symlink to make the distribution portable,
`resource` is relative to directory of `link` -->
<symlink link="${dists.dir}/archives/scala-latest-sources.tgz"
resource="${dists.dir}/archives/scala-${version.number}-sources.tgz"
resource="scala-${version.number}-sources.tgz"
overwrite="yes"/>
</target>

Expand Down

0 comments on commit 98972c9

Please sign in to comment.