[Opensrf-commits] r1983 - trunk/bin (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jul 13 02:11:18 EDT 2010


Author: dbs
Date: 2010-07-13 02:11:14 -0400 (Tue, 13 Jul 2010)
New Revision: 1983

Modified:
   trunk/bin/osrf_config.in
Log:
Whitespace / description cleanup


Modified: trunk/bin/osrf_config.in
===================================================================
--- trunk/bin/osrf_config.in	2010-07-13 06:10:48 UTC (rev 1982)
+++ trunk/bin/osrf_config.in	2010-07-13 06:11:14 UTC (rev 1983)
@@ -2,6 +2,8 @@
 #
 # Copyright (C) 2008 Equinox Software, Inc.
 # Kevin Beswick <kevinbeswick00 at gmail.com>
+# Copyright (C) 2010 Laurentian University
+# Dan Scott <dscott at laurentian.ca>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -14,116 +16,118 @@
 # GNU General Public License for more details.
 #
 
-# Shows configuration options of OSRF
+# Shows configuration options of OpenSRF
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 datarootdir=@datarootdir@
 
 showInstalled() {
-	 JAVA=@OSRF_INSTALL_JAVA@
-	 PYTHON=@OSRF_INSTALL_PYTHON@
-	 if test "$JAVA" = "true"; then
-	    echo "OSRF_JAVA"
-	 fi
-	 if test "$PYTHON" = "true"; then
-	    echo "OSRF_PYTHON"
-	 fi
+    JAVA=@OSRF_INSTALL_JAVA@
+    PYTHON=@OSRF_INSTALL_PYTHON@
+    if test "$JAVA" = "true"; then
+        echo "OSRF_JAVA"
+    fi
+    if test "$PYTHON" = "true"; then
+        echo "OSRF_PYTHON"
+    fi
 }
 
 showAll() {
-	 echo @PACKAGE_STRING@	
-	 echo PREFIX=@prefix@
-	 echo BINDIR=@bindir@
-	 echo LIBDIR=@libdir@
-	 echo TMP=@TMP@
-	 echo INCLUDEDIR=@includedir@
-	 echo SYSCONFDIR=@sysconfdir@
-	 echo APXS2=@APXS2@
-	 echo APACHE2_HEADERS=@APACHE2_HEADERS@
-	 echo APR_HEADERS=@APR_HEADERS@
-	 echo LIBXML2_HEADERS=@LIBXML2_HEADERS@
-	 echo 
-	 echo "Installed modules:"
-	 showInstalled;
+    echo @PACKAGE_STRING@
+    echo PREFIX=@prefix@
+    echo BINDIR=@bindir@
+    echo LIBDIR=@libdir@
+    echo TMP=@TMP@
+    echo INCLUDEDIR=@includedir@
+    echo SYSCONFDIR=@sysconfdir@
+    echo APXS2=@APXS2@
+    echo APACHE2_HEADERS=@APACHE2_HEADERS@
+    echo APR_HEADERS=@APR_HEADERS@
+    echo LIBXML2_HEADERS=@LIBXML2_HEADERS@
+    echo
+    echo "Installed modules:"
+    showInstalled;
 }
 
 showHelp() {
-	 echo 
-	 echo "------------------------------------------------------------"
-	 echo " osrf_config                                                "
-	 echo " Shows configuration of opensrf                             "
-	 echo "------------------------------------------------------------"
-	 echo
-	 echo "Usage: osrf_config [--option]"
-	 echo 
-	 echo "Options: "
-	 echo
-	 echo "--help                  displays help"
-	 echo "--version               displays version number of osrf"
-	 echo "--installed             displays options that were installed"
-	 echo "--prefix                displays prefix"
-	 echo "--bindir                displays bindir"
-	 echo "--libdir                displays libdir"
-	 echo "--tmp                   displays tmp"
-	 echo "--includedir            displays includedir"
-	 echo "--sysconfdir            displays sysconfdir"
-	 echo "--apxs                  displays location of apxs"
-	 echo "--apache                displays location of apache2 headers"
-	 echo "--apr                   displays location of apr headers"
-	 echo "--libxml                displays location of libxml2 headers" 
-	 echo
+    echo
+    echo "------------------------------------------------------------"
+    echo " osrf_config                                                "
+    echo " Display the configuration options for this OpenSRF install "
+    echo "------------------------------------------------------------"
+    echo
+    echo "Usage: osrf_config [--option]"
+    echo
+    echo "Options: "
+    echo
+    echo "--help                  displays help"
+    echo "--version               displays version number of OpenSRF"
+    echo "--installed             displays options that were chosen at install time"
+    echo
+    echo "--apache                displays location of Apache headers"
+    echo "--apr                   displays location of Apache portable runtime headers"
+    echo "--apxs                  displays location of Apache extension tool"
+    echo "--bindir                displays location of binary executables"
+    echo "--includedir            displays location of header files"
+    echo "--libdir                displays location of libraries"
+    echo "--libxml                displays location of libxml2 headers"
+    echo "--localstatedir         displays location of state information"
+    echo "--prefix                displays install prefix"
+    echo "--sysconfdir            displays location of configuration files"
+    echo "--tmp                   displays location of temporary files"
+    echo
 }
 
 case "$1" in
-     --installed)
-		showInstalled
-		;;
-     --cconfig) cconfig;
-      		;;
-     --libxml)
-		echo @LIBXML2_HEADERS@
-		;;
-     --apr)
-		echo @APR_HEADERS@
-		;;
-     --apache)
-		echo @APACHE2_HEADERS@
-		;;
-     --prefix)
-		echo @prefix@
-		;;
-     --version) 
-		echo @PACKAGE_STRING@
-		;;
-     --bindir)
-		echo @bindir@
-		;;
-     --libdir)
-		echo @libdir@
-		;;
-     --sysconfdir)
-		echo @sysconfdir@
-		;;
-     --localstatedir)
-		echo @localstatedir@
-		;;
-     --tmpdir)
-		echo @TMP@
-		;;
-     --apxs)
-		echo @APXS2@
-		;;
-     --includedir)
-		echo @includedir@
-		;;
-     --docdir)
-		echo @docdir@
-		;;
-     --help)
-		showHelp
-		;;
-     *)
-		showAll
-		;;
+    --installed)
+        showInstalled
+        ;;
+    --cconfig) cconfig;
+             ;;
+    --libxml)
+        echo @LIBXML2_HEADERS@
+        ;;
+    --apr)
+        echo @APR_HEADERS@
+        ;;
+    --apache)
+        echo @APACHE2_HEADERS@
+        ;;
+    --prefix)
+        echo @prefix@
+        ;;
+    --version)
+        echo @PACKAGE_STRING@
+        ;;
+    --bindir)
+        echo @bindir@
+        ;;
+    --libdir)
+        echo @libdir@
+        ;;
+    --sysconfdir)
+        echo @sysconfdir@
+        ;;
+    --localstatedir)
+        echo @localstatedir@
+        ;;
+    --tmpdir)
+        echo @TMP@
+        ;;
+    --apxs)
+        echo @APXS2@
+        ;;
+    --includedir)
+        echo @includedir@
+        ;;
+    --docdir)
+        echo @docdir@
+        ;;
+    --help)
+        showHelp
+        ;;
+    *)
+        showAll
+        ;;
 esac



More information about the opensrf-commits mailing list