Pierre Neidhardt <m...@ambrevar.xyz> writes:

> The above will error out if "file-name" is not found.  For 1am:
>
> Queried file-name:
>
>   "1am.asd"
>
> Tarball actual file:
>
>   "1am-20141106-git/1am.asd"
>
> I don't think we can predict the root folder, and more generally
> projects have different trees.

We can add “--strip-components=1” and do the whole thing in
“with-directory-excursion”.  This way we’ll always know the directory
name.  You can also extract individual files in the archive by wildcard,
so you don’t need to know the exact name.

--
Ricardo


Reply via email to