mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild
Log | Files | Refs | LICENSE

commit fdb0d406496d0ce7b8e001116d2f05077d80713a
parent 4e8d085ee822fe1c56c7f96bc6b886d10bc1743f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 28 Apr 2014 20:17:25 +0000

improve style

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mmk.fetch | 4++--
Mmk.install | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/mk.fetch b/mk.fetch @@ -1,7 +1,7 @@ fetch:QV: fetch-git fetch-http fetch-git:QV: - if ! test x"$git" = x""; then + if test x"$git" != x""; then if test x"$branch" = x""; then branch=master fi @@ -9,7 +9,7 @@ fetch-git:QV: fi fetch-http:QV: - if ! test x"$url" = x""; then + if test x"$url" != x""; then wget -c $url tar -xf `basename $url` fi diff --git a/mk.install b/mk.install @@ -1,6 +1,6 @@ install:QV: install_bin install_lib install_man install_other \ install_dirs install_symlinks - if ! test "$INSTALL_PERMISSIONS" = ""; then + if test "$INSTALL_PERMISSIONS" != ""; then eval `echo $INSTALL_PERMISSIONS | tr ' ' '\n' | paste -d ' ' - - | \ awk '{ printf("echo \"CHMOD %s ${ROOT}${PREFIX}%s\"; \ chmod %s ${ROOT}${PREFIX}%s;\n", $1, $2, $1, $2) }'` @@ -55,7 +55,7 @@ install_other:QV: all done install_symlinks:QV: all - if ! test "$INSTALL_SYMLINK" = ""; then + if test "$INSTALL_SYMLINK" != ""; then eval `echo $INSTALL_SYMLINK | tr ' ' '\n' | paste -d ' ' - - | \ awk '{ printf("echo \"LN %s ${ROOT}${PREFIX}%s\"; \ ln -sf %s ${ROOT}${PREFIX}%s;\n", $1, $2, $1, $2) }'`