diff --git a/common/pom.xml b/common/pom.xml index 2ab9073c..2921800a 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -59,7 +59,7 @@ limitations under the License. - + diff --git a/common/src/saveVersion.sh b/common/src/saveVersion.sh index 31d3a334..2fc7be4b 100755 --- a/common/src/saveVersion.sh +++ b/common/src/saveVersion.sh @@ -29,7 +29,7 @@ date=`date` cwd=`pwd` # Exit if target file already exists -if [ -e $outputFile ]; then +if [ -e "$outputFile" ]; then exit 0 fi @@ -45,8 +45,8 @@ else revision="Unknown" url="file://$cwd" fi -mkdir -p $outputDirectory -cat > $outputFile < "$outputFile" <