Bug 258515

Summary: www/nextcloud: new occ helper command fails to work
Product: Ports & Packages Reporter: Guido Falsi <madpilot>
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (brnrd)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
Fix occ script shebang none

Description Guido Falsi freebsd_committer 2021-09-15 14:18:39 UTC
Created attachment 227920 [details]
Fix occ script shebang


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!