Commit df3ba359 authored by claes's avatar claes

Upgrade to V4.5.1

parent 04cc53d2
#! /bin/bash #! /bin/bash
# #
# Proview $Id: upgrade.sh,v 1.15 2008-04-25 11:42:53 claes Exp $ # Proview $Id: upgrade.sh,v 1.16 2008-06-26 13:13:41 claes Exp $
# Copyright (C) 2005 SSAB Oxelsund AB. # Copyright (C) 2005 SSAB Oxelsund AB.
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
...@@ -360,12 +360,12 @@ reload_convertge() ...@@ -360,12 +360,12 @@ reload_convertge()
reload_continue "Pass convert ge graphs" reload_continue "Pass convert ge graphs"
# Create a script that dumps each volume # Create a script that dumps each volume
tmpfile=$pwrp_tmp/convertv41.ge_com tmpfile=$pwrp_tmp/convertv451.ge_com
cat > $tmpfile << EOF cat > $tmpfile << EOF
function int process( string graph) function int process( string graph)
printf( "Converting %s...\n", graph); printf( "Converting %s...\n", graph);
open 'graph' open 'graph'
convert v41 convert v45
save save
endfunction endfunction
...@@ -470,6 +470,7 @@ usage() ...@@ -470,6 +470,7 @@ usage()
renamedb Rename old databases. renamedb Rename old databases.
dirvolume Load the directory volume. dirvolume Load the directory volume.
loaddb Load dumpfiles. loaddb Load dumpfiles.
convertge Convert Ge graphs.
compile Compile all plcprograms in the database compile Compile all plcprograms in the database
createload Create new loadfiles. createload Create new loadfiles.
createboot Create bootfiles for all nodes in the project. createboot Create bootfiles for all nodes in the project.
...@@ -510,7 +511,7 @@ for db in $tmp; do ...@@ -510,7 +511,7 @@ for db in $tmp; do
fi fi
done done
passes="dumpdb classvolumes renamedb dirvolume loaddb compile createload createboot" passes="dumpdb classvolumes renamedb dirvolume loaddb convertge compile createload createboot"
#echo "Pass: $passes" #echo "Pass: $passes"
echo "" echo ""
echo -n "Enter start pass [dumpdb] > " echo -n "Enter start pass [dumpdb] > "
......
This diff is collapsed.
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