From 3eb2f1091990bb62562a4126676abe8f9f139737 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 6 Nov 2008 19:08:57 -0500 Subject: 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 --- wrappers/cross-fix-root | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wrappers') 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 -- cgit v1.2.3-65-gdbad