From 1e752b2b7a22be2ac37975ad56eb85e0c40a474c Mon Sep 17 00:00:00 2001 From: lostd Date: Wed, 5 Feb 2014 14:45:38 +0200 Subject: [PATCH] Make clear we compare strings, test(1) does not know of the == operator --- stage0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage0 b/stage0 index cfcdaca..8ae92aa 100755 --- a/stage0 +++ b/stage0 @@ -24,7 +24,7 @@ build_pkg_dep() { for d in $deps; do install=1 for i in $installed_deps; do - if [ $i == $d ]; then + if [ "$i" = "$d" ]; then # If already installed, then skip it install=0 break