Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
023e8062
Commit
023e8062
authored
9 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Former-commit-id: d606f5b8f2a62edd7338e21b38d30dda7da828e7
parent
892a8153
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/do_makepeasoupbinary.sh
+24
-22
24 additions, 22 deletions
tools/do_makepeasoupbinary.sh
tools/libc_functions.txt
+1
-1
1 addition, 1 deletion
tools/libc_functions.txt
with
25 additions
and
23 deletions
tools/do_makepeasoupbinary.sh
+
24
−
22
View file @
023e8062
...
...
@@ -12,30 +12,32 @@ echo "" >> $peasoup_binary
# setsid made the login() program work, but makes other things more difficult.
# echo "setsid $current_dir/ps_run.sh $current_dir \"\$0\" \"\$@\"" >> $peasoup_binary
#
echo
"
$current_dir
/ps_run.sh
$current_dir
\"\$
0
\"
\"\$
@
\"
"
>>
$peasoup_binary
echo
"SAVE_EXIT_CODE=
\$
?"
>>
$peasoup_binary
echo
"datapath=
$current_dir
"
>>
$peasoup_binary
echo
"exec
$current_dir
/ps_run.sh
$current_dir
\"\$
0
\"
\"\$
@
\"
"
>>
$peasoup_binary
cat
>>
$peasoup_binary
<<
"
EOF
"
if [ -f
$datapath
/diagnostics.out ]; then
len=`/bin/cat
$datapath
/diagnostics.out | wc -l`
if [
$len
-gt 0 ]; then
# make output more concise
/bin/cat
$datapath
/diagnostics.out | uniq > tmp.
$$
mv tmp.
$$
$datapath
/diagnostics.out
fi
fi
# final check, in case we couldn't catch the signal
if [
$SAVE_EXIT_CODE
= 139 ]; then
exit 200
fi
exit
$SAVE_EXIT_CODE
EOF
#
#echo "SAVE_EXIT_CODE=\$?" >> $peasoup_binary
#echo "datapath=$current_dir" >> $peasoup_binary
#
#cat >> $peasoup_binary <<"EOF"
#
#if [ -f $datapath/diagnostics.out ]; then
# len=`/bin/cat $datapath/diagnostics.out | wc -l`
# if [ $len -gt 0 ]; then
#
# # make output more concise
# /bin/cat $datapath/diagnostics.out | uniq > tmp.$$
# mv tmp.$$ $datapath/diagnostics.out
# fi
#fi
#
## final check, in case we couldn't catch the signal
#if [ $SAVE_EXIT_CODE = 139 ]; then
# exit 200
#fi
#exit $SAVE_EXIT_CODE
#EOF
#
chmod
+x
$peasoup_binary
cp
$PEASOUP_HOME
/tools/ps_run.sh
$current_dir
This diff is collapsed.
Click to expand it.
tools/libc_functions.txt
+
1
−
1
View file @
023e8062
send_response
cfar_video_service_close
send_response
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment