Changeset 58ef532 in mainline


Ignore:
Timestamp:
2019-08-17T12:49:44Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c21d4d6
Parents:
05d97eef
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-21 14:03:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:44)
Message:

Make shell script tools more portable

Location:
tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/build_all.sh

    r05d97eef r58ef532  
    1111# Check command line arguments.
    1212
    13 if [ "$#" -gt 1 ] || [ "$#" -eq 1 -a "$1" != '--no-images' ]; then
     13if [ "$#" -gt 1 ] || ( [ "$#" -eq 1 ] && [ "$1" != '--no-images' ] ); then
    1414        echo "Unknown command-line arguments."
    1515        echo "Usage:"
    16         echo "\t$0                    # Build everything."
    17         echo "\t$0 --no-images        # Build all code, but don't create bootable images."
     16        echo "    $0                    # Build everything."
     17        echo "    $0 --no-images        # Build all code, but don't create bootable images."
    1818        exit 1
    1919fi
  • tools/mkarray_for_meson.sh

    r05d97eef r58ef532  
    1 #!/bin/bash
     1#!/bin/sh
    22
    33TOOLS_DIR=`which -- "$0" 2>/dev/null`
Note: See TracChangeset for help on using the changeset viewer.