[Libreoffice-commits] .: bin/install-artwork

Fridrich Strba fridrich at kemper.freedesktop.org
Fri Oct 8 03:49:03 PDT 2010


 bin/install-artwork |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 6ce39e35f23098d5c48c7534e31aaa067fd5abf3
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Oct 8 12:48:11 2010 +0200

    Fix a bashism

diff --git a/bin/install-artwork b/bin/install-artwork
index 6a3828f..f7857cf 100755
--- a/bin/install-artwork
+++ b/bin/install-artwork
@@ -63,7 +63,7 @@ if test -d $dest/default_images; then
 
 	# Copy extra ooo-build specific images into build.  All files under default_images 
 	# are copied into the build recursively.
-    pushd $src && {
+    (cd $src && {
 	    for img in `find default_images -type f`; do
             test $? -eq 0 || exit 1
 	        # TODO: maybe we should check if the file is really an image file ?
@@ -71,8 +71,7 @@ if test -d $dest/default_images; then
 	        mkdir -p $dest/$imgdir || exit 1
 	        cp -f $img $dest/$img || exit 1
 	    done
-    }
-    popd
+    })
 else
 	echo "	skipping default_images"
 fi


More information about the Libreoffice-commits mailing list