mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use already defined variable
This commit is contained in:
parent
7c41a378ee
commit
21c6fa05bc
@ -167,7 +167,7 @@ fi
|
||||
|
||||
# Add license information
|
||||
if [ -d "${template_licensedir}" ]; then
|
||||
portname=$(sed '/^name: /!d; s,^[^"]*",,; s,",,' ${metadir}/+MANIFEST)
|
||||
portname=$(sed '/^name: /!d; s,^[^"]*",,; s,",,' ${manifest})
|
||||
licenses_dir="/usr/local/share/licenses/${portname}-${version}"
|
||||
|
||||
mkdir -p ${root}${licenses_dir}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user