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