From ad8e4c308b920b5bfd9f8aab980a0eba2f646678 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 28 Sep 2012 17:11:42 +0200 Subject: plymouth build script fix --- remote/tools/plymouth/build.plymouth | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'remote') diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth index 21ef5761..f654a5ee 100644 --- a/remote/tools/plymouth/build.plymouth +++ b/remote/tools/plymouth/build.plymouth @@ -1,22 +1,26 @@ #!/bin/bash install_dependencies() { - apt-get install --force-yes $deps + apt-get install --force-yes $DEPS } -fetch_sources() { - if [ ! -e .fetched_sources ]; then +fetch_source() { + if [ ! -e .fetched_source ]; then # download and extract tarball - wget -q $url - TARBALL=`basename $url` + [ ! -d src ] && mkdir src + cd src + wget -q $URL + TARBALL=`basename $URL` tar xvf $TARBALL rm $TARBALL - touch .fetched_sources + cd - + touch .fetched_source fi } build() { if [ ! -e .built ]; then + cd src ./configure --enable-systemd-integration make [ ! -d $INIT_DIR ] && mkdir $INIT_DIR -- cgit v1.2.3-55-g7522