Tweak the packaging scripts. Add a starting point for the uploader.

This commit is contained in:
Paul Chote
2010-11-21 13:06:38 +13:00
parent dba7335594
commit 5764bc1c1c
5 changed files with 34 additions and 3 deletions

View File

@@ -6,7 +6,9 @@ then
exit $E_BADARGS
fi
# Replace any dashes in the version string with periods
PKGVERSION=`echo $1 | sed "s/-/\\./g"`
sed -i "s/{VERSION_FIELD}/$PKGVERSION/" openra.spec
rootdir=`readlink -f $2`
sed -i "s|{ROOT_DIR}|$rootdir|" openra.spec