Merge pull request #349 from vpeter4/sundtek

sundtek-mediatv: fixed unpack script
This commit is contained in:
Stephan Raue 2012-03-21 11:57:38 -07:00
commit e0d0068346

View File

@ -27,7 +27,8 @@ mkdir -p $BUILD/${PKG_NAME}_${PKG_VERSION}
(
cd $BUILD/${PKG_NAME}_${PKG_VERSION}
if [ ${SOURCES:0:1} = "/" ]; then
CHAR=`echo $SOURCES | awk '{ch=substr($0, 0, 1); printf("%c", ch); }'`
if [ ${CHAR} = "/" ]; then
SRC_INSTALLER_ROOT=""
else
SRC_INSTALLER_ROOT="$ROOT/"