Fix some syntax errors
This commit is contained in:
@@ -15,7 +15,7 @@ rm -rf root
|
||||
|
||||
# Game files
|
||||
mkdir -p root/usr/bin/
|
||||
if [ $4 -eq "x64" ]; then
|
||||
if [ $4 = "x64" ]; then
|
||||
cp -T $BUILTDIR/gtklaunch root/usr/bin/openra
|
||||
else
|
||||
cp -T $BUILTDIR/gtklaunch32 root/usr/bin/openra
|
||||
|
||||
@@ -9,7 +9,7 @@ fi
|
||||
VERSION=$1
|
||||
rootdir=`readlink -f $2`
|
||||
PACKAGE_SIZE=`du --apparent-size -c $rootdir/usr | grep "total" | awk '{print $1}'`
|
||||
if [ $4 -eq "x64" ]
|
||||
if [ $4 = "x64" ]
|
||||
then
|
||||
ARCH=amd64
|
||||
else
|
||||
|
||||
@@ -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"`
|
||||
|
||||
@@ -6,7 +6,7 @@ then
|
||||
exit $E_BADARGS
|
||||
fi
|
||||
|
||||
if [ $5 -eq "x64" ]
|
||||
if [ $5 = "x64" ]
|
||||
then
|
||||
ARCH=x86_64
|
||||
else
|
||||
|
||||
@@ -22,6 +22,7 @@ rm OpenRA.app/Contents/Resources/OpenRA.ico
|
||||
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
|
||||
rm OpenRA.app/Contents/Resources/OpenRA.Launcher.exe
|
||||
rm OpenRA.app/Contents/Resources/gtklaunch
|
||||
rm OpenRA.app/Contents/Resources/gtklaunch32
|
||||
|
||||
# Package app bundle into a zip and clean up
|
||||
zip OpenRA-$1 -r -9 OpenRA.app
|
||||
|
||||
Reference in New Issue
Block a user