aboutsummaryrefslogtreecommitdiff
path: root/package-source.bash
diff options
context:
space:
mode:
Diffstat (limited to 'package-source.bash')
-rwxr-xr-xpackage-source.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/package-source.bash b/package-source.bash
index 05c6fd2..772dfef 100755
--- a/package-source.bash
+++ b/package-source.bash
@@ -6,7 +6,7 @@ git_archive_extra() {
local PREFIX=$1
shift
# Add files tracked in git
- git archive --prefix "$PREFIX/" -o $PREFIX.tar master
+ git archive --prefix "$PREFIX/" -o $PREFIX.tar HEAD
# Add "extra" files
tar --transform "s!^!$PREFIX/!" --append -f $PREFIX.tar "$@"
# Compress