15 lines
241 B
Bash
15 lines
241 B
Bash
|
set -e
|
||
|
FullExecPath=$PWD
|
||
|
pushd `dirname $0` > /dev/null
|
||
|
FullScriptPath=`pwd`
|
||
|
popd > /dev/null
|
||
|
|
||
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||
|
set $line
|
||
|
eval $1="$2"
|
||
|
done < "$FullScriptPath/../build/version"
|
||
|
|
||
|
echo $AppVersionStr
|
||
|
exit
|
||
|
|