代码: 全选
#!/bin/sh
TARGET="7inch"
#TARGET="8inch"
#TARGET="10.2inch"
if [ ${TARGET} == "7inch" ]
then
LOCALE="800x480"
elif [ ${TARGET} == "10.2inch" ]
then
LOCALE="800x480"
else
LOCALE="800x600"
fi
WEBII=~/photo_catcher/webii_root/for_2.4/trunk/webii_root
IMAGE_FILES=~/photo_catcher/image-files/for_2.4/trunk
if [ ${TARGET} == "7inch" ]
then
VERSION_MAJOR=1
VERSION_MINOR=7
VERSION_PATCH=0
VERSION_ALPHA=0
VERSION_BETA=4
VERSION_HOTFIX=0
elif [ ${TARGET} == "8inch" ]
then
VERSION_MAJOR=1
VERSION_MINOR=8
VERSION_PATCH=0
VERSION_ALPHA=0
VERSION_BETA=2
VERSION_HOTFIX=0
elif [ ${TARGET} == "10.2inch" ]
then
VERSION_MAJOR=1
VERSION_MINOR=10
VERSION_PATCH=0
VERSION_ALPHA=0
VERSION_BETA=2
VERSION_HOTFIX=0
fi
[: 14: 7inch: unexpected operator
[: 14: 7inch: unexpected operator
请高手帮忙看看是哪里出了问题