From 794c3cf19d017cacfa51a39587e4313910b1bb9c Mon Sep 17 00:00:00 2001 From: monsieuremre <130907164+monsieuremre@users.noreply.github.com> Date: Sat, 28 Oct 2023 10:31:09 +0000 Subject: [PATCH] names --- dists/partial.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dists/partial.sh b/dists/partial.sh index 94288fba8..0a239cbe8 100644 --- a/dists/partial.sh +++ b/dists/partial.sh @@ -7,10 +7,10 @@ do cp $BUILD/apparmor.d/$profile $DESTDIR/etc/apparmor.d/ grep "rPx," "${BUILD}/apparmor.d/${profile}" | while read line do - if [[ -z "$dep" ]]; then + if [[ -z "$line" ]]; then continue fi - dep=$(echo "$l1" | awk '{print $1}') + dep=$(echo "$line" | awk '{print $1}') dep=$(echo $dep | awk -F"/" '{print $NF}') dep=$(eval "ls ${BUILD}/apparmor.d/${dep} 2>/dev/null") for i in $dep @@ -23,7 +23,7 @@ do done grep "rPx -> " "${BUILD}/apparmor.d/${profile}" | while read line do - if [[ -z "$dep" ]]; then + if [[ -z "$line" ]]; then continue fi dep=${line%%#*}