summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-09-28 17:39:31 +0200
committerMichael Neves2012-09-28 17:39:31 +0200
commit0a0e9d6ce712505bf9d300ee52367f2a361e4d6b (patch)
tree245f9087faa17be5462b09caa9e5d16236ec7d7a
parentsystemd build script (diff)
parentminor (diff)
downloadtm-scripts-0a0e9d6ce712505bf9d300ee52367f2a361e4d6b.tar.gz
tm-scripts-0a0e9d6ce712505bf9d300ee52367f2a361e4d6b.tar.xz
tm-scripts-0a0e9d6ce712505bf9d300ee52367f2a361e4d6b.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
-rw-r--r--remote/tools/plymouth/build.plymouth7
1 files changed, 2 insertions, 5 deletions
diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth
index c726b4a6..7cc7ea1b 100644
--- a/remote/tools/plymouth/build.plymouth
+++ b/remote/tools/plymouth/build.plymouth
@@ -8,12 +8,10 @@ fetch_source() {
if [ ! -e .fetched_source ]; then
# download and extract tarball
[ ! -d src ] && mkdir src
- cd src
wget -q $URL
TARBALL=`basename $URL`
- tar xvf $TARBALL
+ tar xvf $TARBALL -C src/
rm $TARBALL
- cd -
touch .fetched_source
fi
}
@@ -23,8 +21,7 @@ build() {
cd src/$VERSION
./configure --enable-systemd-integration
make
- [ ! -d $INIT_DIR ] && mkdir $INIT_DIR
- DESTDIR="$INIT_DIR" make install
+ DESTDIR=$INIT_DIR make install
cd -
touch .built
fi