Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-11-17 11:54:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-17 11:54:03 +0400
commit4882cb6f28ba51eaa1660e0db7c70af11c73ab5e (patch)
tree32a2fa7cf07b0c4174cadc952df25738704cab8a /release/datafiles
parent85bbef0f4ea2e7cacf2f681367f34fb6037d1df1 (diff)
convenience makefile: support spaces in paths
also update for new source/tools paths.
Diffstat (limited to 'release/datafiles')
-rwxr-xr-xrelease/datafiles/blender_icons.sh6
-rwxr-xr-xrelease/datafiles/prvicons.sh4
2 files changed, 5 insertions, 5 deletions
diff --git a/release/datafiles/blender_icons.sh b/release/datafiles/blender_icons.sh
index 9c2cedaaf6c..62746d0ab7e 100755
--- a/release/datafiles/blender_icons.sh
+++ b/release/datafiles/blender_icons.sh
@@ -1,8 +1,8 @@
#!/bin/sh
# This script updates icons from the SVG file
-BASEDIR=$(dirname $0)
+BASEDIR=$(dirname "$0")
-inkscape $BASEDIR/blender_icons.svg --export-dpi=90 --without-gui --export-png=$BASEDIR/blender_icons16.png
-inkscape $BASEDIR/blender_icons.svg --export-dpi=180 --without-gui --export-png=$BASEDIR/blender_icons32.png
+inkscape "$BASEDIR/blender_icons.svg" --export-dpi=90 --without-gui --export-png="$BASEDIR/blender_icons16.png"
+inkscape "$BASEDIR/blender_icons.svg" --export-dpi=180 --without-gui --export-png="$BASEDIR/blender_icons32.png"
diff --git a/release/datafiles/prvicons.sh b/release/datafiles/prvicons.sh
index 1a82b4db71c..95546ff0a4a 100755
--- a/release/datafiles/prvicons.sh
+++ b/release/datafiles/prvicons.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# This script updates icons from the SVG file
-BASEDIR=$(dirname $0)
+BASEDIR=$(dirname "$0")
-inkscape $BASEDIR/prvicons.svg --without-gui --export-png=$BASEDIR/prvicons.png
+inkscape "$BASEDIR/prvicons.svg" --without-gui --export-png="$BASEDIR/prvicons.png"