summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2012-09-28 17:11:42 +0200
committerJonathan Bauer2012-09-28 17:11:42 +0200
commitad8e4c308b920b5bfd9f8aab980a0eba2f646678 (patch)
tree42bb6d8a4f684ca5c8dee0155183860b6a19d0ee /remote
parentcopyfileswithdependencies: required_files (diff)
downloadtm-scripts-ad8e4c308b920b5bfd9f8aab980a0eba2f646678.tar.gz
tm-scripts-ad8e4c308b920b5bfd9f8aab980a0eba2f646678.tar.xz
tm-scripts-ad8e4c308b920b5bfd9f8aab980a0eba2f646678.zip
plymouth build script fix
Diffstat (limited to 'remote')
-rw-r--r--remote/tools/plymouth/build.plymouth16
1 files changed, 10 insertions, 6 deletions
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