Merge pull request #1440 from xodio/fix-docs-screenshoter-script

Fix screenshoter script for docs to run properly on MacOS
This commit is contained in:
Kirill Shumilov
2018-09-13 12:42:27 +03:00
committed by GitHub

View File

@@ -1,5 +1,6 @@
#!/bin/sh
export SHOT="$(dirname "$(readlink -f "$0")")/screenshot-xodball"
SHOT="$(cd "$(dirname "$0")"; pwd)/screenshot-xodball"
export SHOT
find . -iname "update-screenshots.sh" \
-execdir sh -c 'pwd && ./update-screenshots.sh' \;
-execdir sh -c 'pwd && ./update-screenshots.sh' \;