mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
8a7b05f57c
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154502.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31495 a592a061-630c-0410-9148-cb99ea01b6c8
21 lines
212 B
Bash
Executable File
21 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
KT=`dirname $0`
|
|
N=$1
|
|
shift
|
|
|
|
echo doNtimes .$N. "$@"
|
|
|
|
i=0
|
|
for intr in `yes | head -n$N`
|
|
do
|
|
i=$(($i+1))
|
|
echo 'TRY#' $i
|
|
if ! "$@"
|
|
then
|
|
echo TRIES_REQUIRED: $i
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo DONE $N TIMES
|