Commit f22790f1 authored by Maxime Perrotin's avatar Maxime Perrotin

Always set 100 to progress bar before quitting

parent eb20cb17
......@@ -7,6 +7,7 @@ mkfifo $myfifo
tail -f $myfifo | taste-progress-dialog.py &
function quit {
echo '100 Done' > $myfifo
rm $myfifo
tailps=$(pstree -p $$ | grep tail | python -c "import sys, re; print re.search(r'tail\((.*)\)', [x for x in sys.stdin][0]).group(1)")
kill $tailps || xterm -e "echo Internal Error, unable to kill subprocess. Open a terminal and type 'pkill tail' to (hopefully) recover"
......@@ -141,6 +142,4 @@ else
mv "$tempdir"/ConcurrencyView .
fi
echo '100 Done' > $myfifo
quit 0
......@@ -9,6 +9,7 @@ mkfifo $myfifo
tail -f $myfifo | taste-progress-dialog.py &
function quit {
echo '100 Done' > $myfifo
rm $myfifo
tailps=$(pstree -p $$ | grep tail | python -c "import sys, re; print re.search(r'tail\((.*)\)', [x for x in sys.stdin][0]).group(1)")
kill $tailps || xterm -e "echo Internal Error, unable to kill subprocess. Open a terminal and type 'pkill tail' to (hopefully) recover"
......@@ -113,7 +114,6 @@ cp -f __interfaceview-v2.aadl "$INTERFACEVIEW" 2>/dev/null || :
rm -f "$output_dir"/dataview-uniq.asn "$output_dir"/dataview-uniq.aadl "$output_dir"/dataview-uniq-v1.aadl \
"$output_dir"/__interfaceview-v2.aadl
echo '100 Done' > $myfifo
quit $ret
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment