Why does this separate into multiple arguments wtf bash
This commit is contained in:
parent
19141954e9
commit
8ab582e450
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Zergling_man, from fedora.email
|
||||
|
||||
pkgname=swat-codegen
|
||||
pkgver=1.0.2
|
||||
pkgver=1.0.3
|
||||
pkgrel=1
|
||||
pkgdesc="A simple CLI interface to RCPDv3, the rank code management service for the game SWAT: Aftermath"
|
||||
arch=('any')
|
||||
|
|
|
@ -31,7 +31,7 @@ function get
|
|||
function post
|
||||
{
|
||||
TOKE=`get_token`
|
||||
curl -H "Authorization:Bearer $TOKE" https://swataftermath.com:9443/account/$1 --json "$2"
|
||||
curl -H "Authorization:Bearer $TOKE" https://swataftermath.com:9443/account/$1 --json "${*:2}"
|
||||
}
|
||||
|
||||
function delete_code
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user