From e989a844c40da44e304ed4e7e319ec869074fd35 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Nov 2012 07:31:02 +0100 Subject: no more need to update this file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- watch | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'watch') diff --git a/watch b/watch index dc14520..a0a2135 100755 --- a/watch +++ b/watch @@ -1,11 +1,12 @@ #!/usr/bin/env bash -packages="pony" - cd ${BASH_SOURCE%/*} -for package in $packages; do - cd $package - ./watch - cd .. + +for package in *; do + [ -d $package ] && ( + cd $package + [ -f watch ] && ./watch + cd .. + ) done -- cgit v1.2.3-70-g09d2