# Defining a pattern for Julia tarball directory

**URL:** <https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353>\
**Category:** Internals & Design\
**Created:** [June 1, 2018, 11:19pm UTC](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353 "2018-06-01T23:19:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [June 1, 2018, 11:19pm UTC](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353/1 "2018-06-01T23:19:36Z")

</div>

Hi guys!

Is it possible to define a pattern for the Julia tarball directory? For example, Julia v0.6.2 is unpacked to `./julia-0.6.2` whereas Julia v0.6.3 is unpacked to `./julia`. Hence, I need to fine tune the .spec file for farm building every time this happen.

It is not a big deal, but can we define a pattern for it?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [June 2, 2018, 6:53am UTC](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353/2 "2018-06-02T06:53:44Z")

</div>

[https://github.com/JuliaLang/julia/issues/23452](https://github.com/JuliaLang/julia/issues/23452)

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [June 2, 2018, 10:53am UTC](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353/3 "2018-06-02T10:53:21Z")

</div>

I agree we should automate this. But even without this, a clear policy decision could be enough. @ararslan I guess it depends on you since you have to rename the directories manually?

---

<div class="post-metadata">

**Author:** ![ararslan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ararslan/32/3825_2.png) [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Post date:** [June 7, 2018, 8:22pm UTC](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353/4 "2018-06-07T20:22:06Z")

</div>

Should be enough to change `julia-$(JULIA_COMMIT)` in the Makefile to use whatever the Make variable has the full version number.
