diff --git a/src/filelist2content.sh.in b/src/filelist2content.sh.in index 4ab710a..b15981a 100644 --- a/src/filelist2content.sh.in +++ b/src/filelist2content.sh.in @@ -115,7 +115,7 @@ function do_f2c() { echo -n ":md5=${md5%% *}" elif [ "${type}" = "symlink" ] ; then - file="${file}//$(readlink ${file})" + file="${file}//$(readlink ${root}${file})" elif [ "${type}" = "block" -o "${type}" = "char" ] ; then echo -n ":major=${major}" echo -n ":minor=${minor}"