papirus-icon-theme/tools/work/prepare.sh

11 lines
262 B
Bash
Raw Normal View History

2017-07-21 04:18:47 -04:00
#!/usr/bin/env bash
#
2017-07-21 04:18:47 -04:00
# This script cleans and fixes SVG files using `tools/ffsvg.sh` script
set -eo pipefail
2018-09-03 02:37:39 -04:00
readonly SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")"
2017-07-21 04:18:47 -04:00
find "$SCRIPT_DIR" -mindepth 2 -type f -name '*.svg' \
-exec "$SCRIPT_DIR/../ffsvg.sh" '{}' \;