Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
taste-setup
Commits
f22790f1
Commit
f22790f1
authored
Oct 23, 2017
by
Maxime Perrotin
Browse files
Always set 100 to progress bar before quitting
parent
eb20cb17
Changes
2
Hide whitespace changes
Inline
Side-by-side
misc/helper-scripts/taste-edit-concurrency-view
View file @
f22790f1
...
...
@@ -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
misc/helper-scripts/taste-generate-skeletons
View file @
f22790f1
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment