=pro Exclude target directories from find in publish_samples.sh

* It found activator.properties in target directories
This commit is contained in:
Patrik Nordwall 2014-02-20 09:09:39 +01:00
parent 90133e20c0
commit f29f6f40eb

View file

@ -84,7 +84,7 @@ declare -r version=$1
type -P curl &> /dev/null || fail "curl command not found"
names=`find akka-samples -name "activator.properties" | awk -F"/" '{printf "%s\n",$2}'`
names=`find akka-samples -name "activator.properties" -depth 2 | awk -F"/" '{printf "%s\n",$2}'`
for name in $names; do
echolog "Publishing $name"