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
2360343c
Commit
2360343c
authored
13 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
changed how variant id's are returned.
parent
02ff3262
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/ps_analyze.sh
+4
-18
4 additions, 18 deletions
tools/ps_analyze.sh
with
4 additions
and
18 deletions
tools/ps_analyze.sh
+
4
−
18
View file @
2360343c
...
...
@@ -94,20 +94,6 @@ is_step_error()
case
$my_step
in
# registering the program should return the variant ID, 0 or negative is error.
pdb_register
)
if
[
$my_error
-gt
0
]
;
then
return
0
;
fi
return
1
;
;;
# cloning the program should return the variant ID, 0 or negative is error.
clone
)
if
[
$my_error
-gt
0
]
;
then
return
0
;
fi
return
1
;
;;
*
)
if
[
$my_error
-eq
0
]
;
then
# if not otherwise specified, programs should return 0
...
...
@@ -406,8 +392,8 @@ MD5HASH=`md5sum $newname.ncexe | cut -f1 -d' '`
#
# register the program
#
perform_step pdb_register
"
$PEASOUP_HOME
/tools/db/pdb_register.sh
$DB_PROGRAM_NAME
`
pwd
`
"
varid
=
$?
perform_step pdb_register
"
$PEASOUP_HOME
/tools/db/pdb_register.sh
$DB_PROGRAM_NAME
`
pwd
`
"
registered.id
varid
=
`
cat
registered.id
`
#
...
...
@@ -428,8 +414,8 @@ if [ -f $newname.ncexe.annot -a $varid -gt 0 ]; then
perform_step fill_in_indtargs
$SECURITY_TRANSFORMS_HOME
/libIRDB/test/fill_in_indtargs.exe
$varid
./
$newname
.ncexe
# finally create a clone so we can do some transforms
perform_step clone
$SECURITY_TRANSFORMS_HOME
/libIRDB/test/clone.exe
$varid
cloneid
=
$?
perform_step clone
$SECURITY_TRANSFORMS_HOME
/libIRDB/test/clone.exe
$varid
clone.id
cloneid
=
`
cat
clone.id
`
#
...
...
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