Author: Hector Romojaro <hector.romojaro@gmail.com>
Description: No description.
--- a/etc/install/functions.sh
+++ b/etc/install/functions.sh
@@ -24,10 +24,10 @@
 
     interactive=$1
     
-    if [ "$interactive" == "yes" ]; then
+    if [ "$interactive" = "yes" ]; then
         echo "Continue? (y/n)"
         read continue
-        if [ "$continue" == "n" ]; then
+        if [ "$continue" = "n" ]; then
             echo "$0: exiting on users request"
             exit
         fi
--- a/etc/install/install-and-alert.sh
+++ b/etc/install/install-and-alert.sh
@@ -12,11 +12,11 @@
 script_path=$(dirname $(which $0))
 cd $script_path
 
-source ./functions.sh
+. ./functions.sh
 
 # Get a proper environment set up
 if [ -f ~/.bashrc ]; then
-    source ~/.bashrc
+    . ~/.bashrc
 fi
 
 # Look for two-part command line arguments
@@ -28,20 +28,20 @@
 server_overridden="no"
 for arg in "$@"
   do
-  if [ $config_val_next == "1" ]; then
+  if [ $config_val_next = "1" ]; then
       export config_file=$arg
       config_val_next=0
   fi
-  if [ $server_next == "1" ]; then
+  if [ $server_next = "1" ]; then
       # Overrides server setting in config file
       export server=$arg
       server_next=0
       server_overridden="yes"
   fi
-  if [ $arg == "--config-file" ]; then
+  if [ $arg = "--config-file" ]; then
       config_val_next=1
   fi
-  if [ $arg == "--server" ]; then
+  if [ $arg = "--server" ]; then
       server_next=1
   fi
 done
@@ -62,7 +62,7 @@
     mkdir -p $output_dir
 fi
 installation_output_file="${output_dir}/installation-output"
-./install.sh $@ &> $installation_output_file
+./install.sh $@ >$installation_output_file 2>&1
 
 # Get lines with alert keywords or lines with failed TclWebtest tests
 error_lines=$(egrep -i "(FAILED: .+\.test)|($alert_keyword)" $installation_output_file)
--- a/etc/install/warn-if-installation-errors.sh
+++ b/etc/install/warn-if-installation-errors.sh
@@ -9,7 +9,7 @@
 
 file_name=$1
 
-source ./functions.sh
+. ./functions.sh
 
 alert_keyword=`get_config_param alert_keyword`
 
--- a/packages/acs-lang/bin/check-catalog.sh
+++ b/packages/acs-lang/bin/check-catalog.sh
@@ -34,7 +34,7 @@
 export script_path=$(dirname $(which $0))
 
 ### Functions start
-source ${script_path}/functions.sh
+. ${script_path}/functions.sh
 
 get_date_time_key() {
     message_key=$1
@@ -72,7 +72,7 @@
     do
         catalog_package_version=$(cat $catalog_file | ${script_path}/mygrep '<message_catalog .*package_version="([^"]+)"')
 
-        if [ ! "$info_file_package_version" == "$catalog_package_version" ]; then
+        if [ ! "$info_file_package_version" = "$catalog_package_version" ]; then
             echo "$0: $package_key - Warning: package version $catalog_package_version in file $catalog_file does not equal version $info_file_package_version in info file."
         fi
     done
@@ -152,7 +152,7 @@
 find_dirs="$packages_dir ${packages_dir}../www"
 
 # Process arguments
-if [ "$#" == "0" ]; then
+if [ "$#" = "0" ]; then
     # No package provided - check all packages
     for catalog_dir in $(find $package_dir -iname catalog -type d)
     do
--- a/packages/acs-lang/bin/list-keys.sh
+++ b/packages/acs-lang/bin/list-keys.sh
@@ -5,7 +5,7 @@
 # @author Peter Marklund
 
 export script_path=$(dirname $(which $0))
-source ${script_path}/functions.sh
+. ${script_path}/functions.sh
 
 for en_us_file in $(find_en_us_files)
 do
