Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
4573d64d
Commit
4573d64d
authored
May 11, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapted to V4.2
parent
4f803a30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
src/exp/com/src/os_linux/upgrade.sh
src/exp/com/src/os_linux/upgrade.sh
+8
-10
No files found.
src/exp/com/src/os_linux/upgrade.sh
View file @
4573d64d
#! /bin/bash
#
# Proview $Id: upgrade.sh,v 1.
9 2005-09-01 14:57:49
claes Exp $
# Proview $Id: upgrade.sh,v 1.
10 2006-05-11 07:14:45
claes Exp $
# Copyright (C) 2005 SSAB Oxelsund AB.
#
# This program is free software; you can redistribute it and/or
...
...
@@ -26,11 +26,11 @@ let reload__loaddb=4
let
pass__continue
=
1
let
pass__execute
=
2
v4
0_root
=
"/data1/pwr/x4-0-0
/rls_dbg"
v4
1_root
=
"/data1/pwr/x4-1-3
/rls_dbg"
reload_dumpdb
()
{
# Dump V
3.4b
databases
# Dump V
4.1.3
databases
reload_checkpass
"dumpdb"
$start_pass
if
[
$pass_status
-ne
$pass__execute
]
;
then
...
...
@@ -50,8 +50,8 @@ reload_dumpdb()
dump_file
=
$pwrp_db
/
$cdb
.wb_dmp
echo
"Dumping volume
$cdb
in
$dump_file
"
export
pwr_load
=
$v4
0
_root
/os_linux/hw_x86/exp/load
$v4
0
_root
/os_linux/hw_x86/exp/exe/wb_cmd
-v
$cdb
wb dump/out
=
\"
$dump_file
\"
export
pwr_load
=
$v4
1
_root
/os_linux/hw_x86/exp/load
$v4
1
_root
/os_linux/hw_x86/exp/exe/wb_cmd
-v
$cdb
wb dump/out
=
\"
$dump_file
\"
export
pwr_load
=
$pwrb_root
/os_linux/hw_x86/exp/load
done
}
...
...
@@ -358,12 +358,12 @@ reload_convertge()
reload_continue
"Pass convert ge graphs"
# Create a script that dumps each volume
tmpfile
=
$pwrp_tmp
/convertv4
0
.ge_com
tmpfile
=
$pwrp_tmp
/convertv4
1
.ge_com
cat
>
$tmpfile
<<
EOF
function int process( string graph)
printf( "Converting %s...
\n
", graph);
open 'graph'
convert v4
0
convert v4
1
save
endfunction
...
...
@@ -465,9 +465,7 @@ usage()
Pass
dumpdb Dump database to textfile
\$
pwrp_db/'volume'.wb_dmp
cnvclassvolume Convert wb_load-files for classvolumes.
classvolumes Create loadfiles for classvolumes.
cnvdump Convert dumpfiles.
renamedb Rename old databases.
dirvolume Load the directory volume.
loaddb Load dumpfiles.
...
...
@@ -512,7 +510,7 @@ for db in $tmp; do
fi
done
passes
=
"dumpdb c
nvclassvolume classvolumes cnvdump
renamedb dirvolume loaddb compile createload createboot"
passes
=
"dumpdb c
lassvolumes
renamedb dirvolume loaddb compile createload createboot"
echo
"Pass:
$passes
"
echo
""
echo
-n
"Enter start pass [dumpdb] > "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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