commit 1e752b2b7a22be2ac37975ad56eb85e0c40a474c
parent e7ced04ab7e356f553cb22b3fd1ecb91a2b2230e
Author: lostd <lostd@2f30.org>
Date: Wed, 5 Feb 2014 14:45:38 +0200
Make clear we compare strings, test(1) does not know of the == operator
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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