Fix Linux install script (I do not like bash)

This commit is contained in:
Struma 2020-05-01 23:39:42 -04:00 committed by Roza
parent 49e19ce79f
commit 28fa30baaa
3 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/bash #!/usr/bin/bash
BINARY=$1 BINARY=$1
STEAM=$2 ARCH=$2
ARCH=$3 STEAM=$3
function get_dep() function get_dep()
{ {
echo "Copying $1..." echo "Copying $1..."

View file

@ -13,7 +13,7 @@ else
if sizeof['long'] == 8 if sizeof['long'] == 8
archarg = '64' archarg = '64'
else else
archarg = '' archarg = '32'
endif endif
meson.add_install_script('install.sh', meson.project_name(), swarg, archarg) meson.add_install_script('install.sh', meson.project_name(), archarg, swarg)
endif endif

View file

@ -164,6 +164,8 @@ else
if get_option('appimage') != true if get_option('appimage') != true
if sizeof['long'] == 8 and get_option('force32') != true if sizeof['long'] == 8 and get_option('force32') != true
rpath += '64' rpath += '64'
else
rpath += '32'
endif endif
endif endif
endif endif