summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifcreate/a.do4
1 files changed, 3 insertions, 1 deletions
diff --git a/ifcreate/a.do b/ifcreate/a.do
index 8c55c33..c183e95 100644
--- a/ifcreate/a.do
+++ b/ifcreate/a.do
@@ -1,5 +1,7 @@
#!/bin/sh
-if [ ! -e b ]; then
+if [ -e b ]; then
+ redo-ifchange b
+else
redo-ifcreate b
fi
sleep 1