From: Akos Polster Date: Mon, 23 Aug 2010 19:02:06 +0000 (+0200) Subject: Fix version handling. X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=680fe0a1f84ccc06360dda11e6fdc3bfbbef2a12;p=dorian Fix version handling. --- diff --git a/pkg/maemo/build-scratchbox.sh b/pkg/maemo/build-scratchbox.sh index 3adcec9..7ae4d85 100755 --- a/pkg/maemo/build-scratchbox.sh +++ b/pkg/maemo/build-scratchbox.sh @@ -13,6 +13,6 @@ AUTO_DIR=/home/user/dorian-auto [ ! -d ${AUTO_DIR} ] && { echo "Missing $AUTO_DIR"; exit 1; } [ ! -d ${BUILD_DIR} ] && { echo "Missing $BUILD_DIR"; exit 1; } -VERSION=`cat ${BUILD_DIR}/pkg/version.txt` +VERSION=`tr -d '"' < ${BUILD_DIR}/pkg/version.txt` cd ${AUTO_DIR}/dorian-${VERSION} || exit 1 dpkg-buildpackage -rfakeroot