ports-mgmt/rc-subr-jail: Fix jail_copy_programs handler.

Co-authored-by: Alexey Donskov <voxnod@gmail.com>
This commit is contained in:
Alexey Yushkin 2023-03-01 19:27:30 +03:00 committed by Gleb Popov
parent 17192bab92
commit 210551bbeb
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= rc-subr-jail
PORTVERSION= 1
PORTVERSION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= #
DISTFILES= #

View file

@ -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