Bug 222480 - benchmarks/unixbench - unixbench shell script incorrect path
Summary: benchmarks/unixbench - unixbench shell script incorrect path
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: Luca Pizzamiglio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-20 21:16 UTC by Bill Sorenson
Modified: 2017-10-03 13:31 UTC (History)
0 users

See Also:
pizzamig: maintainer-feedback+


Attachments
modified unixbench.in from the ports files dir (150 bytes, application/x-shellscript)
2017-09-20 21:16 UTC, Bill Sorenson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Sorenson 2017-09-20 21:16:22 UTC
Created attachment 186576 [details]
modified unixbench.in from the ports files dir

The path in the unixbench shell script (%%PREFIX%%/bin/unixbench) enters the directory %%PREFIX%%/lib/ instead of %%PREFIX%%/libexec/ before exec-ing ./Run. This attached unixbench.in should fix the issue. This problem should be affecting all users of unixbench.

Simple fix but I figured I'd send everything I know rather than just complaining about it.
Comment 1 Luca Pizzamiglio freebsd_committer freebsd_triage 2017-09-21 15:08:50 UTC
Hi Bill,
I've tested Run a lot, but I've forgot to update the new path in unixbench.in
Good catch
Thanks.
I'll fix it ASAP
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-09-29 14:46:24 UTC
A commit references this bug:

Author: pizzamig
Date: Fri Sep 29 14:45:49 UTC 2017
New revision: 450894
URL: https://svnweb.freebsd.org/changeset/ports/450894

Log:
  benchmarks/unixbench: Fix the new path in the unixbench

  Bump PORTREVISION

  PR:		222480
  Approved by:	lme (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12541

Changes:
  head/benchmarks/unixbench/Makefile
  head/benchmarks/unixbench/files/unixbench.in
Comment 3 Luca Pizzamiglio freebsd_committer freebsd_triage 2017-10-03 13:31:34 UTC
Thanks for reporting, fixed now