summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2010-10-08 12:48:11 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-10-08 12:48:11 +0200
commit6ce39e35f23098d5c48c7534e31aaa067fd5abf3 (patch)
treef402b2114e2b1b2d6698ca8e1d512e728837c909
parentb57b6578dcb6f79eecff47bc46f87d1a84bcb0f5 (diff)
Fix a bashism
-rwxr-xr-xbin/install-artwork5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/install-artwork b/bin/install-artwork
index 6a3828ffa..f7857cf8c 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