summaryrefslogtreecommitdiff
path: root/sysui/desktop/share
diff options
context:
space:
mode:
Diffstat (limited to 'sysui/desktop/share')
-rwxr-xr-xsysui/desktop/share/apparmor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysui/desktop/share/apparmor.sh b/sysui/desktop/share/apparmor.sh
index 4a91310b1a29..59803e1ae4db 100755
--- a/sysui/desktop/share/apparmor.sh
+++ b/sysui/desktop/share/apparmor.sh
@@ -37,10 +37,10 @@ INST_ROOT_FORMAT=${INST_ROOT_FORMAT////.}
#Need to escape / for sed
INST_ROOT_SED=${INST_ROOT////\\/}
-for filename in `ls $PROFILESFROM`
+for filename in $(ls $PROFILESFROM)
do
tourl=$INSTALLTO$INST_ROOT_FORMAT$filename
- cat $PROFILESFROM$filename | sed "s/INSTDIR-/$INST_ROOT_SED/g" > $tourl
+ sed "s/INSTDIR-/$INST_ROOT_SED/g" $PROFILESFROM$filename > $tourl
echo "$tourl"
done