[Bugs-1818607] Build and Run scripts fail on Unix if not using Bash/Ash/SH

This commit is contained in:
bmovaqar 2008-11-05 13:09:05 +00:00
parent b59d46ef57
commit d289faef76
38 changed files with 76 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/sh
# Author + Copyright 1999-2005 Jorg Janke # Author + Copyright 1999-2005 Jorg Janke
# $Id: RUN_DBExport.sh,v 1.10 2005/05/31 18:45:33 jjanke Exp $ # $Id: RUN_DBExport.sh,v 1.10 2005/05/31 18:45:33 jjanke Exp $
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: RUN_DBRestore.sh,v 1.9 2005/01/22 21:59:15 jjanke Exp $ # $Id: RUN_DBRestore.sh,v 1.9 2005/01/22 21:59:15 jjanke Exp $
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then
cd $ADEMPIERE_HOME/utils cd $ADEMPIERE_HOME/utils

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: RUN_DBStart.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $ # $Id: RUN_DBStart.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then
cd $ADEMPIERE_HOME/utils cd $ADEMPIERE_HOME/utils

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: RUN_DBStop.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $ # $Id: RUN_DBStop.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then
cd $ADEMPIERE_HOME/utils cd $ADEMPIERE_HOME/utils

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: RUN_Env.sh,v 1.16 2005/01/22 21:59:15 jjanke Exp $ # $Id: RUN_Env.sh,v 1.16 2005/01/22 21:59:15 jjanke Exp $
echo Adempiere Environment Check echo Adempiere Environment Check

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: RUN_TrlExport.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $ # $Id: RUN_TrlExport.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: RUN_TrlImport.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $ # $Id: RUN_TrlImport.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then

View File

@ -1,3 +1,5 @@
#!/bin/sh
# Copy Database after backup # Copy Database after backup
# $Id: myDBcopyTemplate.sh,v 1.1 2002/10/07 01:23:32 jjanke Exp $ # $Id: myDBcopyTemplate.sh,v 1.1 2002/10/07 01:23:32 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere Database Export $Revision: 1.5 $ echo Adempiere Database Export $Revision: 1.5 $
# $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $ # $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere Full Database Export $Revision: 1.3 $ echo Adempiere Full Database Export $Revision: 1.3 $
# $Id: DBExportFull.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $ # $Id: DBExportFull.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: DBRestore.sh,v 1.8 2005/12/20 07:12:17 jjanke Exp $ # $Id: DBRestore.sh,v 1.8 2005/12/20 07:12:17 jjanke Exp $
echo Adempiere Database Restore $Revision: 1.8 $ echo Adempiere Database Restore $Revision: 1.8 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere Database Export $Revision: 1.5 $ echo Adempiere Database Export $Revision: 1.5 $
# $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $ # $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $ # $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $
echo Adempiere Database Import $Revision: 1.10 $ echo Adempiere Database Import $Revision: 1.10 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: ImportReference.sh,v 1.5 2005/01/22 21:59:15 jjanke Exp $ # $Id: ImportReference.sh,v 1.5 2005/01/22 21:59:15 jjanke Exp $
echo Adempiere Reference Database Import $Revision: 1.5 $ echo Adempiere Reference Database Import $Revision: 1.5 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: PostMigration.sh # $Id: PostMigration.sh
echo Oracle Post Migration Scripts echo Oracle Post Migration Scripts

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: Start.sh,v 1.6 2005/01/22 21:59:15 jjanke Exp $ # $Id: Start.sh,v 1.6 2005/01/22 21:59:15 jjanke Exp $
sqlplus "system/$ADEMPIERE_DB_SYSTEM@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME AS SYSDBA" @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/Start.sql sqlplus "system/$ADEMPIERE_DB_SYSTEM@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME AS SYSDBA" @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/Start.sql

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: Stop.sh,v 1.7 2005/01/22 21:59:15 jjanke Exp $ # $Id: Stop.sh,v 1.7 2005/01/22 21:59:15 jjanke Exp $
# In a multi-instance environment set the environment first # In a multi-instance environment set the environment first

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere Database Export $Revision: 1.5 $ echo Adempiere Database Export $Revision: 1.5 $
# $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $ # $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere Full Database Export $Revision: 1.3 $ echo Adempiere Full Database Export $Revision: 1.3 $
# $Id: DBExportFull.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $ # $Id: DBExportFull.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: DBRestore.sh,v 1.8 2005/12/20 07:12:17 jjanke Exp $ # $Id: DBRestore.sh,v 1.8 2005/12/20 07:12:17 jjanke Exp $
echo Adempiere Database Restore $Revision: 1.8 $ echo Adempiere Database Restore $Revision: 1.8 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere Database Export $Revision: 1.5 $ echo Adempiere Database Export $Revision: 1.5 $
# $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $ # $Id: DBExport.sh,v 1.5 2005/12/20 07:12:17 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $ # $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $
echo Adempiere Database Import $Revision: 1.10 $ echo Adempiere Database Import $Revision: 1.10 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: ImportReference.sh,v 1.5 2005/01/22 21:59:15 jjanke Exp $ # $Id: ImportReference.sh,v 1.5 2005/01/22 21:59:15 jjanke Exp $
echo Adempiere Reference Database Import $Revision: 1.5 $ echo Adempiere Reference Database Import $Revision: 1.5 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: PostMigration.sh # $Id: PostMigration.sh
echo Oracle Post Migration Scripts echo Oracle Post Migration Scripts

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: Start.sh,v 1.6 2005/01/22 21:59:15 jjanke Exp $ # $Id: Start.sh,v 1.6 2005/01/22 21:59:15 jjanke Exp $
sqlplus "system/$ADEMPIERE_DB_SYSTEM@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME AS SYSDBA" @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/Start.sql sqlplus "system/$ADEMPIERE_DB_SYSTEM@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME AS SYSDBA" @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/Start.sql

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: Stop.sh,v 1.7 2005/01/22 21:59:15 jjanke Exp $ # $Id: Stop.sh,v 1.7 2005/01/22 21:59:15 jjanke Exp $
# In a multi-instance environment set the environment first # In a multi-instance environment set the environment first

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere PostgreSQL Database Export $Revision: 1.3 $ echo Adempiere PostgreSQL Database Export $Revision: 1.3 $
# $Id: DBExport.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $ # $Id: DBExport.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $ # $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $
echo Adempiere Database Import $Revision: 1.10 $ echo Adempiere Database Import $Revision: 1.10 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Adempiere PostgreSQL Database Export $Revision: 1.3 $ echo Adempiere PostgreSQL Database Export $Revision: 1.3 $
# $Id: DBExport.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $ # $Id: DBExport.sh,v 1.3 2005/01/22 21:59:15 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $ # $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $
echo Adempiere Database Import $Revision: 1.10 $ echo Adempiere Database Import $Revision: 1.10 $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# $Id: PostMigration.sh # $Id: PostMigration.sh
echo Postgresql Post Migration Scripts echo Postgresql Post Migration Scripts

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Start PostgreSQL DB Service echo Start PostgreSQL DB Service
# $Id: Start.sh,v 1.3 2002/04/26 03:20:09 jjanke Exp $ # $Id: Start.sh,v 1.3 2002/04/26 03:20:09 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
echo Stop Oracle DB Service echo Stop Oracle DB Service
# $Id: Stop.sh,v 1.2 2002/04/24 01:52:59 jjanke Exp $ # $Id: Stop.sh,v 1.2 2002/04/24 01:52:59 jjanke Exp $

View File

@ -1,3 +1,5 @@
#!/bin/sh
# This script rebuilds Adempiere # This script rebuilds Adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl> # Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
# If you have difficulties, compare it with the Windows version. # If you have difficulties, compare it with the Windows version.

View File

@ -1,3 +1,5 @@
#!/bin/sh
# This script rebuilds Adempiere # This script rebuilds Adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl> # Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
# If you have difficulties, compare it with the Windows version. # If you have difficulties, compare it with the Windows version.

View File

@ -1,3 +1,5 @@
#!/bin/sh
# This script compile Adempiere # This script compile Adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl> # Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>

View File

@ -1,3 +1,5 @@
#!/bin/sh
# This script cleans Adempiere builds # This script cleans Adempiere builds
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl> # Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>

View File

@ -1,3 +1,5 @@
#!/bin/sh
# This script installs adempiere # This script installs adempiere
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl> # Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>