[Bug 212556] sysutils/tarsnap-periodic: Fix tarsnap-backup script

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 10 08:05:18 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212556

            Bug ID: 212556
           Summary: sysutils/tarsnap-periodic: Fix tarsnap-backup script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jlduran at gmail.com
                CC: kamila at ksp.sk
             Flags: maintainer-feedback?(kamila at ksp.sk)
                CC: kamila at ksp.sk

Created attachment 174614
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174614&action=edit
PATCH tarsnap-backup script

Pull Request submitted upstream:

https://github.com/AnotherKamila/tarsnap-periodic/pull/1

- Fix if [ -n something_wrong ];
- Apply ShellCheck recommendations:
  - Double quote variables to prevent globbing and word splitting
  - Use $(..) instead of legacy `..`
  - expr is antiquated. Rewrite using $((..))

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list