diff --git bin/hive bin/hive index fcf38b1..60d6a7a 100755 --- bin/hive +++ bin/hive @@ -99,7 +99,8 @@ done # add the auxillary jars such as serdes if [ -d "${HIVE_AUX_JARS_PATH}" ]; then - for f in ${HIVE_AUX_JARS_PATH}/*.jar; do + hive_aux_jars_abspath=`cd ${HIVE_AUX_JARS_PATH} && pwd` + for f in $hive_aux_jars_abspath/*.jar; do if [[ ! -f $f ]]; then continue; fi