Echo nextep after exiting.
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1087
959494ce-11ee-0310-bf91-
de5d638817bd
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
;;
esac
if [ "$save" = y ]; then
- echo "$(($ep + 1))" >nextep
+ let ep++
+ echo "$ep" >nextep
fi
if [ "$cont" = y ]; then
exec "${origargs[@]}"
+ else
+ echo "nextep is $ep"
fi
fi