On 2016-07-15 at 18:00 Dan Cross <[email protected]> wrote:
> This is a Makefile, a patch, and a line in the top-level
> Makefile bringing in BASH for Akaros.  I've been using this
> as my shell for a few months now.

Merged to master at a90eeb66da0a..bd72ca442a51 (from, to]

You can see the entire diff with 'git diff' or at
https://github.com/brho/akaros/compare/a90eeb66da0a...bd72ca442a51


We can sort out the remaining issues in later commits.

I still had a few scripts that this busted, so YMMV.  For
instance, bash didn't like this args check:

if [ $# -lt 2 ]
then
        echo "$# args"
        echo Usage: $0 PREEMPT_DELAY_USEC ARGS_FOR_LOCK_TEST
        exit
fi

it also didn't like:

if [ "$#" -lt "2" ]

(http://tldp.org/LDP/abs/html/comparison-ops.html)

but it did like:

if [[ $# -lt 2 ]]

This was in lockprov.sh.

Anyway, be careful of scripts breaking in the interim.  Glad I had
busybox around to double check.  =)

Barret

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to