convenience makefile: support spaces in paths
[blender.git] / release / datafiles / prvicons.sh
index 1a82b4db71cb014939de173595b3993e919732de..95546ff0a4aa150f850eff17fb116cfa73e94d21 100755 (executable)
@@ -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"