commit 167a1c0b748baeb4da2e9bac6ec85af84ae843f2
parent b73bf2c5db5b5db32e07f201d4feab3874fd509a
Author: sin <sin@2f30.org>
Date: Wed, 18 Sep 2013 14:33:23 +0100
Log fetch/unpack/patch targets as well
Diffstat:
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/build b/build
@@ -24,9 +24,9 @@ install() {
. $1
(
- fetch
- unpack
- patch
+ fetch || echo "Failed to fetch $1" >> $top/morpheus.log
+ unpack || echo "Failed to unpack $1" >> $top/morpheus.log
+ patch || echo "Failed to patch $1" >> $top/morpheus.log
build || echo "Failed to build $1" >> $top/morpheus.log
install || echo "Failed to install $1" >> $top/morpheus.log
)
diff --git a/pkgs/fs b/pkgs/fs
@@ -1,7 +1,7 @@
url=git://git.2f30.org/fs
fetch() {
- git clone $url src/fs
+ [ -d src/fs ] || git clone $url src/fs
}
install() {
diff --git a/pkgs/sbase b/pkgs/sbase
@@ -1,7 +1,7 @@
url=git://git.2f30.org/sbase
fetch() {
- git clone $url src/sbase
+ [ -d src/base ] || git clone $url src/sbase
}
build() {
diff --git a/pkgs/smdev b/pkgs/smdev
@@ -1,7 +1,7 @@
url=git://git.2f30.org/smdev
fetch() {
- git clone $url src/smdev
+ [ -d src/smdev ] || git clone $url src/smdev
}
build() {
diff --git a/pkgs/ubase b/pkgs/ubase
@@ -1,7 +1,7 @@
url=git://git.2f30.org/ubase
fetch() {
- git clone $url src/ubase
+ [ -d src/ubase ] || git clone $url src/ubase
}
build() {