Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177699
b: refs/heads/master
c: 91d1618
h: refs/heads/master
i:
  177697: f4002f0
  177695: 9119b3c
v: v3
  • Loading branch information
Michal Marek committed Dec 12, 2009
1 parent 43dfde0 commit 49775f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8723eaeff59a5146326288392f08be4c894fdad7
refs/heads/master: 91d161857ce9672bd2a8cd99ff712a67186e2e76
6 changes: 5 additions & 1 deletion trunk/scripts/package/buildtar
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ esac
#
(
cd "${tmpdir}"
tar cf - . | ${compress} > "${tarball}${file_ext}"
opts=
if tar --owner=root --group=root --help >/dev/null 2>&1; then
opts="--owner=root --group=root"
fi
tar cf - . $opts | ${compress} > "${tarball}${file_ext}"
)

echo "Tarball successfully created in ${tarball}${file_ext}"
Expand Down

0 comments on commit 49775f2

Please sign in to comment.