[PATCH] Fixup non-respecting DESTDIR for DOCDIR chmod.

Tomáš Chvátal tchvatal at suse.cz
Wed Aug 17 02:33:55 PDT 2011


Signed-off-by: Tomáš Chvátal <tchvatal at suse.cz>
---
 bin/distro-install-clean-up |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/distro-install-clean-up b/bin/distro-install-clean-up
index df7ac9d..229b7e8 100755
--- a/bin/distro-install-clean-up
+++ b/bin/distro-install-clean-up
@@ -59,7 +59,7 @@ if test -f $DESTDIR$INSTALLDIR/help/en/sbasic.cfg -a \
 fi
 
 echo "Fixing permissions..."
-for dir in $DOCDIR $DESTDIR$INSTALLDIR/basis$PRODUCTVERSION/sdk/examples ; do
+for dir in $DESTDIR$DOCDIR $DESTDIR$INSTALLDIR/basis$PRODUCTVERSION/sdk/examples ; do
     if test -d $dir -a -w $dir ; then
 	find "$dir" -type f \( -name "*.txt" -o -name "*.java" -o -name "*.xml"    -o \
 			       -name "*.xcu" -o -name "*.xcs"  -o -name "*.html"   -o \
-- 
1.7.6


--------------060703020601090606090407--


More information about the LibreOffice mailing list