mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Fix bash stuff: functions and shebang.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Edit this if you want to use another Löve version.
|
||||
LOVE_VERSION=0.9.1
|
||||
|
||||
|
||||
## Short help ##
|
||||
function short_help()
|
||||
short_help ()
|
||||
{
|
||||
echo "Usage: love-release.sh [options...] [files...]
|
||||
Options:
|
||||
@@ -25,7 +25,7 @@ Options:
|
||||
}
|
||||
|
||||
## Long help ##
|
||||
function long_help()
|
||||
long_help ()
|
||||
{
|
||||
echo "
|
||||
.TH LOVE-RELEASE.SH 1
|
||||
@@ -206,7 +206,7 @@ command -v lua >/dev/null 2>&1 || { FOUND_LUA=false; }
|
||||
|
||||
|
||||
## Parsing function ##
|
||||
function getoptex()
|
||||
getoptex ()
|
||||
{
|
||||
let $# || return 1
|
||||
local optlist="${1#;}"
|
||||
|
Reference in New Issue
Block a user