#!/bin/sh gitname=lios-3 pkgname=lios pkgver=git3b857a8 CWD=$(pwd) ( cd /data/GitHub/$gitname git pull cat < .gitattributes .gitattributes export-ignore .git export-ignore .git .gitignore EOF git archive --worktree-attributes --prefix=$pkgname-$pkgver/ master | xz > $CWD/$pkgname-$pkgver.tar.xz rm .gitattributes )