Skip to content

Commit

Permalink
Tar packages now created with root:root owner
Browse files Browse the repository at this point in the history
  • Loading branch information
hdima committed Jun 5, 2013
1 parent 18fa2eb commit 18441a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Now
===

- All packages should be created from 'root' user

- Update CHANGES

Before 1.0.0
Expand Down
6 changes: 4 additions & 2 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ bin_release()

mkdir $root
copy_files "$(bin_files)" "$root"
(cd $RELEASE_DIR && tar -c $name | gzip -9 > $arch_name.tar.gz)
(cd $RELEASE_DIR && tar --owner root --group root -c $name \
| gzip -9 > $arch_name.tar.gz)
(cd $RELEASE_DIR && zip -rq9 $arch_name.zip $name)
}

Expand All @@ -22,7 +23,8 @@ src_release()

mkdir $root
copy_files "$(src_files)" "$root"
(cd $RELEASE_DIR && tar -c $name | gzip -9 > $arch_name.tar.gz)
(cd $RELEASE_DIR && tar --owner root --group root -c $name \
| gzip -9 > $arch_name.tar.gz)
(cd $RELEASE_DIR && zip -rq9 $arch_name.zip $name)
}

Expand Down

0 comments on commit 18441a1

Please sign in to comment.