morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus.git
Log | Files | Refs | Submodules | README | LICENSE

commit fb2274ab949118ed891f94a23e54c66eb9c240e0
parent 0745b928e350f913d0335743edbd96e133956601
Author: sin <sin@2f30.org>
Date:   Tue Feb 18 11:14:25 +0000

Properly return 1 in case of error

Diffstat:
pkgs/tinyxlib | 4++--
pkgs/tinyxserver | 4++--
pkgs/uuterm | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pkgs/tinyxlib b/pkgs/tinyxlib @@ -14,12 +14,12 @@ build() { cd src/tinyxlib make clean make CC=x86_64-linux-musl-gcc BINDIR="/bin" LIBDIR="/lib" STATIC=1 \ - FONT_ENCODINGS_DIRECTORY="/usr/share/fonts/encodings/encodings.dir" + FONT_ENCODINGS_DIRECTORY="/usr/share/fonts/encodings/encodings.dir" || return 1 cd - } install() { cd src/tinyxlib - make DESTDIR="$libcroot" BINDIR="/bin" LIBDIR="/lib" STATIC=1 install + make DESTDIR="$libcroot" BINDIR="/bin" LIBDIR="/lib" STATIC=1 install || return 1 cd - } diff --git a/pkgs/tinyxserver b/pkgs/tinyxserver @@ -15,13 +15,13 @@ build() { make clean make CC=x86_64-linux-musl-gcc EXTRA_CFLAGS="-D_XSERVER64=1 -I$libcroot/include" \ LDFLAGS="-static -L$libcroot/lib" \ - FONTDIR="/usr/share/fonts" + FONTDIR="/usr/share/fonts" || return 1 cd - } install() { cd src/tinyxserver - make DESTDIR="$root" BINDIR="/bin" install + make DESTDIR="$root" BINDIR="/bin" install || return 1 cd - cd $root/usr/share/fonts/misc mkfontscale diff --git a/pkgs/uuterm b/pkgs/uuterm @@ -12,7 +12,7 @@ unpack() { build() { cd src/uuterm - make CC=x86_64-linux-musl-gcc LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 + make CC=x86_64-linux-musl-gcc LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 || return 1 cd - }