ports-mgmt/rc-subr-jail: Fix jail_copy_programs handler.
Co-authored-by: Alexey Donskov <voxnod@gmail.com>
This commit is contained in:
parent
17192bab92
commit
210551bbeb
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= rc-subr-jail
|
||||
PORTVERSION= 1
|
||||
PORTVERSION= 2
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= #
|
||||
DISTFILES= #
|
||||
|
|
|
@ -65,7 +65,7 @@ prepare_jail()
|
|||
|
||||
_interp=$(file "$_prog" | grep -o '/libexec/ld-elf.so[0-9\.]*')
|
||||
if [ "$_interp" ]; then
|
||||
mkdir "$jroot/libexec"
|
||||
mkdir -p "$jroot/libexec"
|
||||
cp "$_interp" "$jroot/libexec/"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue