Skip to content
Permalink
Browse files

alienarena: Use shellescape

  • Loading branch information
ryandesign committed Jun 27, 2020
1 parent a0659e7 commit 584e21357fe49dcb6e03d5830f4998c633e83f94
Showing with 2 additions and 2 deletions.
  1. +2 −2 games/alienarena/Portfile
@@ -8,7 +8,7 @@ set version_number [lindex [split ${version} -] 0]
set version_date [lindex [split ${version} -] 1]
categories games
platforms darwin
maintainers ryandesign
maintainers {ryandesign @ryandesign}
license GPL-2+

description retro sci-fi old school deathmatch game similar to Quake \
@@ -70,7 +70,7 @@ if {${name} eq ${subport}} {

pre-extract {
# Create list of data files we want to exclude.
system -W ${workpath} "${extract.cmd} ${extract.pre_args} ${distpath}/${distfiles} | tar -tf - --exclude '*.cfg' ${worksrcdir}/data1 | grep -v /$ > datafiles.txt"
system -W ${workpath} "${extract.cmd} ${extract.pre_args} [shellescape ${distpath}/${distfiles}] | tar -tf - --exclude '*.cfg' [shellescape ${worksrcdir}/data1] | grep -v /$ > datafiles.txt"
}

# Avoid extracting data files.

0 comments on commit 584e213

Please sign in to comment.
You can’t perform that action at this time.