From 94175fd05812fdb75992cbb2eee3b08ea07978d0 Mon Sep 17 00:00:00 2001 From: Matthias Ruester Date: Tue, 28 May 2013 10:54:20 +0200 Subject: [PATCH] Fix beesep calls filenames containing spaces led beesep to fail beesep only takes one argument otherwise it will fail using quotes around the argument fixes this issue --- src/bee-check.sh.in | 4 ++-- src/compat-filesfile2contentfile.sh.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bee-check.sh.in b/src/bee-check.sh.in index 806aee3..ea1be6b 100644 --- a/src/bee-check.sh.in +++ b/src/bee-check.sh.in @@ -193,12 +193,12 @@ function do_check_deps() { echo " provides = ${PKGFULLPKG}" while read line; do - eval $(${BEESEP} ${line}) + eval $(${BEESEP} "${line}") echo " provides = ${file%%//*}" done < "${filesfile}" while read line; do - eval $(${BEESEP} ${line}) + eval $(${BEESEP} "${line}") # save and strip possible symbolic link destination.. symlink=${file#*//} diff --git a/src/compat-filesfile2contentfile.sh.in b/src/compat-filesfile2contentfile.sh.in index 1a0493b..4c64e78 100644 --- a/src/compat-filesfile2contentfile.sh.in +++ b/src/compat-filesfile2contentfile.sh.in @@ -29,7 +29,7 @@ declare -A hardlink while read line ; do md5="" - data=$(${BEESEP} ${line} 2>/dev/null) + data=$(${BEESEP} "${line}" 2>/dev/null) if [ $? -ne '0' ] ; then echo >&2 "**ERROR** INVALID CONTENT: ${line}"