News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Error in Linux 'update' script

Started by Pecan, May 16, 2019, 05:23:10 PM

Previous topic - Next topic

Pecan

Head rev 11696
On Mint 17.2/64bit the update script gets the error:

Updating Linux version.
./update: 26: ./update: Syntax error: "(" unexpected (expecting "}")

Line 26 contains:
dirs=(16x16 20x20 24x24 28x28 32x32 40x40 48x48 56x56 64x64)

Changing the '()'s to '{}'s solves the problem.

Ticket #827

oBFusCATed

I think the proper fix here is to require bash, at least the implementation and features would be the same everywhere...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]