[Libreoffice] [REVIEW] Better support for distro packaging

Petr Mladek pmladek at suse.cz
Mon Jul 11 10:02:55 PDT 2011


Gökçen Eraslan píše v Ne 10. 07. 2011 v 13:53 +0300:
> 08 Temmuz 2011 Cuma günü (saat 17:00:48) Petr Mladek şunları yazmıştı:
> > Hi,
> > 
> > are you fine with adding the attached changes into master and
> > libreoffice-3-4 branch?
> > 
> In the first patch named "-L.patch", an absolute-path symlink is created 
> using:
> 
> for dir in `find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1 -type d` ; do
>     ln -sf "$dir" "$start_dir"

In fact, the above lines are removed by the patch ;-)

The new code is

--- cut ---
+    for dir in `find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1
-type d -printf "$tarname/%f\n"` ; do 
+        ln -sf "src/$dir" "$start_dir" 
+    done 
--- cut ---

It creates relative symlinks. I wanted them as well :-)

Best Regards,
Petr



More information about the LibreOffice mailing list