From 83e91d3172ac5bef25741e9b886a17ac852c3caa Mon Sep 17 00:00:00 2001 From: Ethan Sommer Date: Wed, 15 Apr 2020 15:00:56 -0400 Subject: bloatcheck: remove bashism, change shebang to sh --- scripts/bloatcheck | 4 ++-- 1 file 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)) -- cgit v1.2.3