summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-03-07 00:53:25 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-03-07 00:53:25 +0100
commit08eb9168f73c76680b6fc257bc904bd24e688c5f (patch)
tree3869cfe4475002678469b4475f995d4ad1c1d732
parent6a23c88f9644758efc88574a29b5a51b87bb0e79 (diff)
downloadkanotix-08eb9168f73c76680b6fc257bc904bd24e688c5f.zip
kanotix-08eb9168f73c76680b6fc257bc904bd24e688c5f.tar.gz
don't fail if some gfxoverlays can't be built
-rwxr-xr-xconfig/binary_local-hooks/gfxoverlays2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/binary_local-hooks/gfxoverlays b/config/binary_local-hooks/gfxoverlays
index 4341113..bc86da5 100755
--- a/config/binary_local-hooks/gfxoverlays
+++ b/config/binary_local-hooks/gfxoverlays
@@ -14,7 +14,7 @@ DIRS+="${CACHE}overlay$bit-$drv-$ver "
done < <(cut -d'#' -f1 config/gfxoverlays/versions | grep .)
if [ ! -e "$CACHE/overlay.$bit.squashfs" -o "$UPDATE" ]; then
rm -f "$CACHE/overlay.$bit.squashfs"
- mksquashfs $DIRS "$CACHE/overlay.$bit.squashfs"
+ mksquashfs $(ls -d $DIRS) "$CACHE/overlay.$bit.squashfs" || exit 0
fi
mkdir -p binary/gfxoverlay
cp "$CACHE/overlay.$bit.squashfs" binary/gfxoverlay/