From 6d94488aff71cc41f6c8f95847fc5705b580db2d Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 20 2013 14:20:51 +0000 Subject: Fix command used to retrieve package version. --- diff --git a/tcar-scripts/tcar.sh b/tcar-scripts/tcar.sh index 34709c0..1d2fc89 100755 --- a/tcar-scripts/tcar.sh +++ b/tcar-scripts/tcar.sh @@ -29,7 +29,7 @@ ###################################################################### declare -xr TCAR_SCRIPT_PACKAGE="tcar" -declare -xr TCAR_SCRIPT_VERSION="$(rpm -q -qf "%{VERSION}" ${TCAR_SCRIPT_PACKAGE})" +declare -xr TCAR_SCRIPT_VERSION="$(rpm -q --qf "%{VERSION}" ${TCAR_SCRIPT_PACKAGE})" ###################################################################### # Paths