File: rootintar

package info (click to toggle)
python-escript 5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 87,772 kB
  • ctags: 49,550
  • sloc: python: 585,488; cpp: 133,173; ansic: 18,675; xml: 3,283; sh: 690; makefile: 215
file content (12 lines) | stat: -rw-r--r-- 573 bytes parent folder | download
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)