aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-03-07 22:53:11 -0500
committerRalph Amissah <ralph@amissah.com>2013-03-07 22:53:11 -0500
commitc6d43f001f7749f33c207d261e5ce7515f98d0de (patch)
treed6bd6716bf4c4c2645c94329ce4a24ae44114d72
parentv4: version & changelog (diff)
v4: share_src, sisu source, permissions, make world readable when shared
-rw-r--r--data/doc/sisu/CHANGELOG_v42
-rw-r--r--lib/sisu/v4/share_src.rb4
2 files changed, 6 insertions, 0 deletions
diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4
index f43eaaba..2ef62c1d 100644
--- a/data/doc/sisu/CHANGELOG_v4
+++ b/data/doc/sisu/CHANGELOG_v4
@@ -28,6 +28,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.0.12.orig.tar.xz
sisu_4.0.12.orig.tar.xz
sisu_4.0.12-1.dsc
+* v4: share_src, sisu source, permissions, make world readable when shared
+
%% 4.0.11.orig.tar.xz (2013-03-06:09/3)
http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_4.0.11
http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/debian/sisu_4.0.11-1
diff --git a/lib/sisu/v4/share_src.rb b/lib/sisu/v4/share_src.rb
index b767de0c..725ded35 100644
--- a/lib/sisu/v4/share_src.rb
+++ b/lib/sisu/v4/share_src.rb
@@ -82,6 +82,10 @@ module SiSU_Markup
v=(@opt.cmd =~/M/) ? 'v' : ''
system(%{
rsync -a#{v} #{@path_pod[:fnb]} #{@file.output_path.sisupod.dir}
+ cd #{@file.output_path.sisupod.dir}
+ for I in `find -type d` ; do chmod 755 $I ; done
+ for I in `find -type f` ; do chmod 644 $I ; done
+ cd -
})
else
SiSU_Screen::Ansi.new('',"#{@opt.fno} not available").blue_tab if @opt.cmd=~/[MVv]/