1 2 3 4 5 6 7 8 9 10 11 12
|
Description: Rootintar
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -199,7 +199,7 @@ env.Alias('examples_zipfile', zip)
tar_path=os.path.join(release_dir, 'escript_examples.tar')
targz_path=os.path.join(release_dir, 'escript_examples.tar.gz')
-tar = local_env.Command(tar_path, None, dir_cmd+"tar -cf "+tar_path+" "+" ".join(ex2))
+tar = local_env.Command(tar_path, None, dir_cmd+"tar --owner=root --group=root --numeric-owner -cf "+tar_path+" "+" ".join(ex2))
targz = local_env.Command(targz_path, tar, "gzip -n -9 "+tar_path)
env.Alias('examples_tarfile', targz)
|