taintedzodiac / relaymyhome

(MacOS) Nintendo 3DS StreetPass Automation
MIT License
107 stars 21 forks source link

Add $ to passed variables; better array passing #27

Closed seeauer closed 8 years ago

seeauer commented 8 years ago

When I ran ./relaymyhome full, it would only get the first available MAC address, instead of the entire array.

I modified the array syntax in generateFullMacAddressList() and the code that calls it, in order to better handle array passing. For reference, see "Example 36-20. Passing and returning arrays" on this page: http://tldp.org/LDP/abs/html/assortedtips.html

taintedzodiac commented 8 years ago

Closing this since I believe it duplicates the fix in #26 but feel free to reopen if otherwise. Thanks!