morpheus

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

commit 86759dae594aa3347fa98b81ff17b06c3e12db2e
parent 2961f5370fdcefd1ff558fa53463ec3922f460b9
Author: sin <sin@2f30.org>
Date:   Mon Feb  3 12:18:52 +0000

Use test

Diffstat:
stage0 | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stage0 b/stage0 @@ -5,7 +5,7 @@ . ./prepare-env -if [ $(uname -m) != $arch ]; then +if test "$(uname -m)" != "$arch"; then echo You need an $arch host to build morpheus 1>&2 exit 1 fi @@ -40,7 +40,7 @@ build_pkg_dep() { build_pkg_deps() { pkg=$1 while read line; do - if [ $(echo $line | cut -d' ' -f1) != $pkg ]; then + if test "$(echo $line | cut -d' ' -f1)" != "$pkg"; then continue fi deps=$(echo $line | cut -d' ' -f2-)