diff --git a/scripts/autoreconf b/scripts/autoreconf index 0a8f95aa76..b4e310bf52 100755 --- a/scripts/autoreconf +++ b/scripts/autoreconf @@ -20,7 +20,11 @@ . config/options $1 -[ ! -f "$PKG_BUILD/configure.in" -a ! -f "$PKG_BUILD/configure.ac" ] && echo "configure.in or configure.ac not found" && exit 1 +if [ ! -f "$PKG_BUILD/configure.in" \ + -a ! -f "$PKG_BUILD/configure.ac" ] ; then + echo "configure.in or configure.ac not found" + exit 1 +fi if [ ! -f $PKG_BUILD/.autoreconf-done ] ; then touch $PKG_BUILD/NEWS $PKG_BUILD/AUTHORS $PKG_BUILD/ChangeLog @@ -32,5 +36,3 @@ if [ ! -f $PKG_BUILD/.autoreconf-done ] ; then do_autoreconf $PKG_BUILD touch $PKG_BUILD/.autoreconf-done fi - -exit 0 diff --git a/scripts/ccache_stats b/scripts/ccache_stats index b2617b5ef6..f5473916eb 100755 --- a/scripts/ccache_stats +++ b/scripts/ccache_stats @@ -18,7 +18,6 @@ # along with OpenELEC. If not, see . ################################################################################ - . config/options $TOOLCHAIN/bin/ccache -s diff --git a/scripts/clean b/scripts/clean index 9d78f73006..681a34bd0e 100755 --- a/scripts/clean +++ b/scripts/clean @@ -44,5 +44,3 @@ if [ ! -z "$1" ]; then done rm -f $STAMPS/$1/build_* fi - -exit 0 diff --git a/scripts/get b/scripts/get index 2a66d4b96b..e6084d4839 100755 --- a/scripts/get +++ b/scripts/get @@ -67,8 +67,5 @@ if [ -n "$PKG_URL" ]; then rm -f $BUILD_BASE*/$STAMPS_NOARCH/$1/unpack rm -f $BUILD_BASE*/$STAMPS_NOARCH/$1/build - done -else - exit 0 fi diff --git a/scripts/git_version b/scripts/git_version index dbe2de3132..6bfc89db41 100755 --- a/scripts/git_version +++ b/scripts/git_version @@ -23,4 +23,3 @@ [ -f "$PKG_BUILD/VERSION" ] && PKG_GIT_VERSION=`cat $PKG_BUILD/VERSION` echo $PKG_GIT_VERSION -