[rkward] macports: fixed condition in bundle script

m.eik michalke null at kde.org
Thu Apr 5 13:00:36 UTC 2018


Git commit be49daa0e1911b77bc96b5ffd6e338de773afd84 by m.eik michalke.
Committed on 05/04/2018 at 12:39.
Pushed by meikm into branch 'master'.

fixed condition in bundle script

M  +1    -1    macports/update_bundle.sh

https://commits.kde.org/rkward/be49daa0e1911b77bc96b5ffd6e338de773afd84

diff --git a/macports/update_bundle.sh b/macports/update_bundle.sh
index b067df0c..345bf472 100755
--- a/macports/update_bundle.sh
+++ b/macports/update_bundle.sh
@@ -555,7 +555,7 @@ if $LSDSKUSG ; then
   cd "${MPTINST}/var/macports/build/"
   SBFLDRS=$(ls)
   for i in ${SBFLDRS} ; do
-    if [ -d ${i}/$(ls ${i}/)/work/destroot ] ; then
+    if [ -d "${i}/$(ls ${i}/)/work/destroot" ] ; then
       echo $(du -sh ${i}/$(ls ${i}/)/work/destroot | sed -e "s+\(${BLDPRFX}\)\(.*\)\(/work/destroot\)+\2+")
     fi
   done



More information about the rkward-tracker mailing list