scripts: minor cosmetics

This commit is contained in:
Stephan Raue 2014-08-26 19:31:44 +03:00
parent 6ac74a9c9f
commit 88640c54e6
5 changed files with 5 additions and 10 deletions

View File

@ -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

View File

@ -18,7 +18,6 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. config/options
$TOOLCHAIN/bin/ccache -s

View File

@ -44,5 +44,3 @@ if [ ! -z "$1" ]; then
done
rm -f $STAMPS/$1/build_*
fi
exit 0

View File

@ -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

View File

@ -23,4 +23,3 @@
[ -f "$PKG_BUILD/VERSION" ] && PKG_GIT_VERSION=`cat $PKG_BUILD/VERSION`
echo $PKG_GIT_VERSION