Dolda2000 GitWeb
/
utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Checked in rsc.
[utils.git]
/
planime
diff --git
a/planime
b/planime
index
fbc543b
..
004aa2a
100755
(executable)
--- a/
planime
+++ b/
planime
@@
-95,7
+95,9
@@
if [ "$nextep" = y -a -r nextep ]; then
exit 1
fi
fi
exit 1
fi
fi
-file="$(findfile "$base - " "$ep" "$qual")"
+if [ -z "$file" ]; then
+ file="$(findfile "$base - " "$ep" "$qual")"
+fi
if [ -z "$file" -o ! -r "$file" ]; then
echo "planime: no matching file found" >&2
if [ -z "$file" -o ! -r "$file" ]; then
echo "planime: no matching file found" >&2
@@
-157,9
+159,12
@@
if [ "$nextep" = y ]; then
;;
esac
if [ "$save" = y ]; then
;;
esac
if [ "$save" = y ]; then
- echo "$(($ep + 1))" >nextep
+ let ep++
+ echo "$ep" >nextep
fi
if [ "$cont" = y ]; then
exec "${origargs[@]}"
fi
if [ "$cont" = y ]; then
exec "${origargs[@]}"
+ else
+ echo "nextep is $ep"
fi
fi
fi
fi