Bug 258515 - www/nextcloud: new occ helper command fails to work
Summary: www/nextcloud: new occ helper command fails to work
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-15 14:18 UTC by Guido Falsi
Modified: 2021-09-17 18:53 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments
Fix occ script shebang (611 bytes, patch)
2021-09-15 14:18 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer 2021-09-15 14:18:39 UTC
Created attachment 227920 [details]
Fix occ script shebang

Hi,

The new occ helper script contains an error that prevents it from properly working:

# occ upgrade
args=: Command not found.
Illegal variable name.

Looks like the shebang is missing the !

Attached patch should fix it.
Comment 1 commit-hook freebsd_committer 2021-09-17 18:39:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ac6aa24d0cce9b0d06aaebc23a29dbaadb52f96

commit 8ac6aa24d0cce9b0d06aaebc23a29dbaadb52f96
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2021-09-17 18:37:07 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2021-09-17 18:37:07 +0000

    www/nextcloud: Fix shebang in occ script

    PR:             258515
    Reported by:    madpilot

 www/nextcloud/Makefile     | 2 +-
 www/nextcloud/files/occ.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 2 Bernard Spil freebsd_committer 2021-09-17 18:45:44 UTC
Can't believe I've missed that :'(

Thanks Guido!
Comment 3 Guido Falsi freebsd_committer 2021-09-17 18:53:21 UTC
(In reply to Bernard Spil from comment #2)

Event he best make mistakes sometimes, important thing is to fix them!

Thanks for the commit!