aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2020-04-15 15:00:56 -0400
committerCem Keylan <cem@ckyln.com>2021-07-04 16:01:01 +0300
commit83e91d3172ac5bef25741e9b886a17ac852c3caa (patch)
treed665d1fd600e6f2401c6bc012db4dcaefae50bcf
parentfdc8dbfe91a961b2352661e84fe17094b2cd3bd8 (diff)
downloadtoybox-83e91d3172ac5bef25741e9b886a17ac852c3caa.tar.gz
bloatcheck: remove bashism, change shebang to sh
-rwxr-xr-xscripts/bloatcheck4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bloatcheck b/scripts/bloatcheck
index fff4690f..30492c64 100755
--- a/scripts/bloatcheck
+++ b/scripts/bloatcheck
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
if [ $# -ne 2 ]
then
@@ -40,7 +40,7 @@ do_bloatcheck()
fi
SIZE=$(printf "%d" "0x$b")
- if [ "$a" == "-" ]
+ if [ "$a" = "-" ]
then
OLD=$(($OLD+$SIZE))
SIZE=$((-1*$SIZE))