summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-08-08 12:01:39 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-08-08 12:04:08 -0700
commit70a6b0b71d2ec894689c85291bae5e64d44b0584 (patch)
tree92638c6dd4a3b34410aefe183b98cea50e53b5ed /scripts
parentc9fd6608095348feb20f2a7fbfdcbe1a2353d57d (diff)
downloadcaffeonacl-70a6b0b71d2ec894689c85291bae5e64d44b0584.tar.gz
caffeonacl-70a6b0b71d2ec894689c85291bae5e64d44b0584.tar.bz2
caffeonacl-70a6b0b71d2ec894689c85291bae5e64d44b0584.zip
[docs] fix find complaint in example gathering script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gather_examples.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gather_examples.sh b/scripts/gather_examples.sh
index dd6cef0d..3fc72606 100755
--- a/scripts/gather_examples.sh
+++ b/scripts/gather_examples.sh
@@ -22,7 +22,7 @@ for README_FILENAME in $(find examples -iname "readme.md"); do
done
# Gather docs from examples/*.ipynb and add YAML front-matter.
-for NOTEBOOK_FILENAME in $(find examples -d 1 -iname "*.ipynb"); do
+for NOTEBOOK_FILENAME in $(find examples -depth -iname "*.ipynb"); do
DOCS_FILENAME=$GATHERED_DIR/$NOTEBOOK_FILENAME
mkdir -p `dirname $DOCS_FILENAME`
python scripts/copy_notebook.py $NOTEBOOK_FILENAME $DOCS_FILENAME