aboutsummaryrefslogtreecommitdiffstats
path: root/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-17 07:31:02 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-17 07:31:02 +0100
commite989a844c40da44e304ed4e7e319ec869074fd35 (patch)
tree917974def99be6e9dcaefe133012824e501ba073 /watch
parentgitignore file (diff)
downloadaur-packages-e989a844c40da44e304ed4e7e319ec869074fd35.tar.gz
aur-packages-e989a844c40da44e304ed4e7e319ec869074fd35.tar.bz2
aur-packages-e989a844c40da44e304ed4e7e319ec869074fd35.tar.xz
no more need to update this file
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xwatch13
1 files changed, 7 insertions, 6 deletions
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