Simplify version.sh script

The else branch is not needed - and the variable name in it is
misspelled anyway ;)
This commit is contained in:
Martin Kleusberg
2013-04-21 12:41:54 +02:00
parent a1d4b6a38e
commit 3d5d7fabe0

View File

@@ -6,8 +6,6 @@ version_macro="#define APP_VERSION $version"
if [ -f gen_version.h ]; then
current_file=`cat gen_version.h`
else
current_files=""
fi
if [ "$version_macro" != "$current_file" ]; then