Skip to content

Commit

Permalink
benchmarks/phoronix-test-suite: use SHEBANG_GLOB instead of SHEBANG_F…
Browse files Browse the repository at this point in the history
…ILES incomplete list (+)

Pet stage-qa by switch to SHEBANG_GLOB= *.sh

This eliminate a bunch of 'Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for...'

Reported by:	poudriere bulk -t
Approved by:	portmgr blanket
Sponsored by:	Serenity Cybersecurity, LLC
  • Loading branch information
fluffykhv committed Jul 25, 2023
1 parent 7950ac6 commit 8134091
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions benchmarks/phoronix-test-suite/Makefile
@@ -1,6 +1,7 @@
PORTNAME= phoronix-test-suite
DISTVERSIONPREFIX= v
DISTVERSION= 10.8.4
PORTREVISION= 1
CATEGORIES= benchmarks
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}

Expand All @@ -12,7 +13,7 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING

RUN_DEPENDS= sudo:security/sudo \
bash:shells/bash
bash:shells/bash

USES= php:cli,build,flavors python shebangfix
USE_GITHUB= yes
Expand All @@ -23,18 +24,8 @@ PORTDATA= *
PORTDOCS= *

NO_ARCH= yes
SHEBANG_FILES= ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/install.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/interim.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/pre.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/post.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/install.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/interim.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/pre.sh \
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/post.sh \
ob-cache/test-profiles/pts/csgo-1.5.1/pre_linux.sh \
ob-cache/test-profiles/pts/dota2-1.2.2/pre_linux.sh \
ob-cache/test-profiles/pts/portal-1.1.1/pre_linux.sh \
deploy/docker/ubuntu-pts-docker-build.sh

SHEBANG_GLOB= *.sh

CONFLICTS_INSTALL= phoronix-test-suite-php[0-9][0-9] # bin/phoronix-test-suite

Expand Down

0 comments on commit 8134091

Please sign in to comment.