spec/install_oracle.sh in ajax-datatables-rails-1.2.0 vs spec/install_oracle.sh in ajax-datatables-rails-1.3.0

- old
+ new

@@ -2,17 +2,17 @@ wget 'https://github.com/cbandy/travis-oracle/archive/v2.0.3.tar.gz' mkdir -p ~/.travis/oracle tar xz --strip-components 1 -C ~/.travis/oracle -f v2.0.3.tar.gz -if [ -n $CUSTOM_ORACLE_FILE ]; then - wget -q $CUSTOM_ORACLE_FILE -O ~/.travis/oracle/oracle-xe-11.2.0-1.0.x86_64.rpm.zip +if [ -n ${CUSTOM_ORACLE_FILE} ]; then + wget -q ${CUSTOM_ORACLE_FILE} -O ~/.travis/oracle/oracle-xe-11.2.0-1.0.x86_64.rpm.zip else ~/.travis/oracle/download.sh fi ~/.travis/oracle/install.sh # in dev env: sqlplus system/password@localhost/XE -"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL -ALTER USER $USER IDENTIFIED BY $USER; +"${ORACLE_HOME}/bin/sqlplus" -L -S / AS SYSDBA <<SQL +ALTER USER ${USER} IDENTIFIED BY ${USER}; SQL