Skip to content

Commit

Permalink
Fix beesep calls
Browse files Browse the repository at this point in the history
filenames containing spaces led beesep to fail
beesep only takes one argument otherwise it will fail
using quotes around the argument fixes this issue
  • Loading branch information
Matthias Ruester authored and mariux committed Jun 1, 2015
1 parent 7f9d19f commit 94175fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bee-check.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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#*//}
Expand Down
2 changes: 1 addition & 1 deletion src/compat-filesfile2contentfile.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 94175fd

Please sign in to comment.