enter-repo: upgrade to 3

quote command line parameters correctly
This commit is contained in:
ptrcnull 2022-04-26 02:05:04 +02:00
parent d903b572f3
commit 7575924303
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=root-enter
pkgver=2.0.0
pkgver=3
pkgrel=0
pkgdesc="enter chroot with mounts"
url="https://git.ddd.rip/ptrcnull/ptrcports"
@ -15,5 +15,5 @@ package() {
}
sha512sums="
2d1985ff9658fb74f8fe9f8fe22031c5ef29b183920b8f6c4c80e04d671e6744ad1009016fb8bfcac49e74e3774983f7b2319e502d50af38938105c3ee937896 enter
9a699e5a5282c6bb3aad29bede294308f159c35eaed65187053f37688dd2477a7e8f790c7c2e21950ffb823b9f401c2ef6da22751e9fbc4506ba917edb4ceecc enter
"

View file

@ -3,7 +3,7 @@
set -e
[ "$(id -u)" = 0 ] || DOAS="${DOAS:-doas}"
[ "$unshared" = 1 ] || exec $DOAS env unshared=1 unshare -m $0 $@
[ "$unshared" = 1 ] || exec $DOAS env unshared=1 unshare -m $0 "$@"
bindpoints="/etc/resolv.conf"
user="patrycja"