Fix some syntax errors

This commit is contained in:
Matthew Bowra-Dean
2011-01-05 13:36:10 +13:00
parent 0d038f00ba
commit 3aff455fba
5 changed files with 6 additions and 4 deletions

View File

@@ -6,11 +6,12 @@ then
exit $E_BADARGS
fi
if [ $4 -eq "x64" ]
if [ $4 = "x64" ]
then
ARCH=x86_64
else
ARCH=i686
fi
# Replace any dashes in the version string with periods
PKGVERSION=`echo $1 | sed "s/-/\\./g"`