diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-06 19:08:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-06 19:10:01 -0500 |
commit | 3eb2f1091990bb62562a4126676abe8f9f139737 (patch) | |
tree | 03ca033345191cd87e5aee53acf186d79854af37 /wrappers/cross-fix-root | |
parent | cross-pkg-config: handle /usr/share/pkgconfig (diff) | |
download | crossdev-3eb2f1091990bb62562a4126676abe8f9f139737.tar.gz crossdev-3eb2f1091990bb62562a4126676abe8f9f139737.tar.bz2 crossdev-3eb2f1091990bb62562a4126676abe8f9f139737.zip |
cross-fix-root: exit 0 when lib dir does not exist
If the lib dir does not exist yet, exit with 0 rather than 1. This way we
do not abort early when doing bootstrapping and the lib dir does not yet
exist.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/cross-fix-root')
-rwxr-xr-x | wrappers/cross-fix-root | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/cross-fix-root b/wrappers/cross-fix-root index 3296df2..472e51e 100755 --- a/wrappers/cross-fix-root +++ b/wrappers/cross-fix-root @@ -27,7 +27,7 @@ if [ -n "$1" ] && [ -e "/usr/$1" ] ; then CROSS_PREFIX="$1-" fi -cd "${SYSROOT}" || exit 1 +cd "${SYSROOT}" || exit 0 if [ -d "${LIBDIR}" ] ; then find "./${LIBDIR}/" -name 'lib*.so*' -print0 | xargs -0 -r chmod 755 |