distro

small linux distro experiment
Log | Files | Refs

commit e1ec267c4acada6e9bc849b188391d63cbfedbc5
parent 80cf7474a1e5da650274d5f528157830f3abfe20
Author: z3bra <contactatz3bradotorg>
Date:   Fri, 26 Oct 2018 08:05:04 +0200

Checkout commit before creating git archives

Diffstat:
pkg/build.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/build.mk b/pkg/build.mk @@ -27,7 +27,7 @@ $archive: mkdir -p $(dirname $archive) if [ -n "$git" ]; then git clone --bare $git .repo - (cd .repo; git archive --prefix $pkg-$ver/ $ver) | bzip2 > $archive + (cd .repo; git checkout $ver; git archive --prefix $pkg-$ver/ $ver) | bzip2 > $archive rm -rf .repo elif [ -n "$url" ]; then curl -L $url > $archive