koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/misc export_frameworks.bat export_framewor... [rel_2_2]


From: Thomas D
Subject: [Koha-cvs] koha/misc export_frameworks.bat export_framewor... [rel_2_2]
Date: Thu, 13 Dec 2007 13:29:03 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Thomas D <thd>  07/12/13 13:29:03

Modified files:
        misc           : export_frameworks.bat export_frameworks.sh 

Log message:
        Correcting functional purpose text and adding a display option for the 
text.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/misc/export_frameworks.bat?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/koha/misc/export_frameworks.sh?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.1&r2=1.1.2.2

Patches:
Index: export_frameworks.bat
===================================================================
RCS file: /sources/koha/koha/misc/Attic/export_frameworks.bat,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- export_frameworks.bat       11 Dec 2007 22:37:51 -0000      1.1.2.1
+++ export_frameworks.bat       13 Dec 2007 13:29:02 -0000      1.1.2.2
@@ -4,8 +4,8 @@
 REM Koha 2.2.X MARC Frameworks Export Script
 REM for Microsoft Windows systems.
 REM
-REM version 0.0.1
-REM 2007-12-11
+REM version 0.0.2
+REM 2007-12-12
 REM
 REM by
 REM
@@ -58,11 +58,11 @@
 REM http://www.gnu.org/licenses/old-licenses/gpl-2.0.html .
 REM 
 REM 
-REM PURPOSE.
+REM FUNCTIONAL PURPOSE.
 REM 
 REM The purpose of this script is to prepare a copy of your MARC frameworks
-REM frameworks variations if you have significant ones for inclusion in
-REM Koha 3.0 to share them with others.
+REM variations, if you have significant ones, for inclusion in Koha 3.0 to
+REM share them with others.
 REM
 REM
 REM UPDATES.
@@ -119,8 +119,8 @@
 
 REM SCRIPT VARIABLES.
 
-set scriptVersion=0.0.1
-set scriptDate=2007-12-11
+set scriptVersion=0.0.2
+set scriptDate=2007-12-12
 set scriptYear=2007
 set optionName=
 
@@ -163,6 +163,7 @@
        echo.
        echo  -?                       Display this help message and exit.
        echo  -? e                     Display usage example and exit.
+       echo  -? f                     Display functional purpose and exit.
        echo  -? i                     Display installation requirements and 
exit.
        echo  -? u                     Display update information and exit.
        echo.
@@ -261,6 +262,15 @@
        echo.
        goto BYE
 
+:FUNCTIOT
+       echo FUNCTIONAL PURPOSE.
+       echo.
+       echo The purpose of this script is to prepare a copy of your MARC 
frameworks
+       echo variations, if you have significant ones, for inclusion in Koha 
3.0 to
+       echo share them with others.
+       echo.
+       goto BYE
+
 :INSTALLT
        echo INSTALLATION REQUIREMENTS.
        echo.
@@ -416,6 +426,10 @@
                                        set errorCode=%exitHelp%
                                        goto EXAMPLET
                                )
+                               if "%1" == "f" (
+                                       set errorCode=%exitHelp%
+                                       goto FUNCTIOT
+                               )
                                if "%1" == "i" (
                                        set errorCode=%exitHelp%
                                        goto INSTALLT

Index: export_frameworks.sh
===================================================================
RCS file: /sources/koha/koha/misc/Attic/export_frameworks.sh,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- export_frameworks.sh        11 Dec 2007 22:37:51 -0000      1.1.2.1
+++ export_frameworks.sh        13 Dec 2007 13:29:02 -0000      1.1.2.2
@@ -4,8 +4,8 @@
 # Koha 2.2.X MARC Frameworks Export Script
 # for Unix based systems (Unix, GNU/Linux, Mac OS X, etc.)
 #
-# version 0.0.1
-# 2007-11-29
+# version 0.0.2
+# 2007-12-12
 #
 # by
 #
@@ -58,11 +58,11 @@
 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html .
 # 
 # 
-# PURPOSE.
+# FUNCTIONAL PURPOSE.
 # 
 # The purpose of this script is to prepare a copy of your MARC frameworks
-# frameworks variations if you have significant ones for inclusion in
-# Koha 3.0 to share them with others.
+# variations, if you have significant ones, for inclusion in Koha 3.0 to
+# share them with others.
 #
 #
 # UPDATES.
@@ -107,8 +107,8 @@
 
 # SCRIPT VARIABLES.
 
-scriptVersion=0.0.1
-scriptDate=2007-11-29
+scriptVersion=0.0.2
+scriptDate=2007-12-12
 scriptYear=2007
 
 # ERROR EXIT CODES.
@@ -138,6 +138,7 @@
 
  -?                       Display this help message and exit.
  -? e                     Display usage examples and exit.
+ -? f                     Display functional purpose and exit.
  -? i                     Display installation requirements and exit.
  -? u                     Display update information and exit.
 
@@ -229,6 +230,14 @@
  '$0' -? c > copyright_license_info.txt
 '
 
+functionText='
+FUNCTIONAL PURPOSE.
+
+The purpose of this script is to prepare a copy of your MARC frameworks
+variations, if you have significant ones, for inclusion in Koha 3.0 to
+share them with others.
+'
+
 installationText='
 INSTALLATION REQUIREMENTS.
 
@@ -343,6 +352,11 @@
                                                echo "$examplesText"
                                                exit $exitHelp
                                fi
+                               if [ $OPTARG = "f" ]
+                                       then
+                                               echo "$functionText"
+                                               exit $exitHelp
+                               fi
                                if [ $OPTARG = "i" ]
                                        then
                                                echo "$installationText"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]