298 |
|
|
299 |
ln -snf "${link}" "${MROOT}${pathto}" |
ln -snf "${link}" "${MROOT}${pathto}" |
300 |
|
|
301 |
# fix mtime and db |
# # fix mtime and db |
302 |
fix_descriptor ${pkgname}/.symlinks \ |
# fix_descriptor ${pkgname}/.symlinks \ |
303 |
"${pathto}" \ |
# "${pathto}" \ |
304 |
"${posix}" \ |
# "${posix}" \ |
305 |
"${link}" \ |
# "${link}" \ |
306 |
"$(fix_mtime "${BUILDDIR}/${pkgname}"/.mtime \ |
# "$(fix_mtime "${BUILDDIR}/${pkgname}"/.mtime \ |
307 |
"${MROOT}${pathto}")" |
# "${MROOT}${pathto}")" |
308 |
|
|
309 |
done < ${BUILDDIR}/${pkgname}/.symlinks |
done < ${BUILDDIR}/${pkgname}/.symlinks |
310 |
|
|
311 |
# now copy the fixed file over the old one |
# # now copy the fixed file over the old one |
312 |
[ -f ${BUILDDIR}/${pkgname}/.symlinks_fixed ] && \ |
# [ -f ${BUILDDIR}/${pkgname}/.symlinks_fixed ] && \ |
313 |
cp -f ${BUILDDIR}/${pkgname}/.symlinks{_fixed,} |
# cp -f ${BUILDDIR}/${pkgname}/.symlinks{_fixed,} |
314 |
|
|
315 |
# very important: unsetting the '§' fieldseperator |
# very important: unsetting the '§' fieldseperator |
316 |
IFS=$'\n' |
IFS=$'\n' |