Changeset 32b4302 in mainline for tools/cc.sh


Ignore:
Timestamp:
2019-08-18T19:06:02Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c39d33b
Parents:
fa70134 (diff), 6c2fac18 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-18 19:06:02)
git-committer:
GitHub <noreply@…> (2019-08-18 19:06:02)
Message:

Merge pull request #174 from le-jzr/meson3

Convert HelenOS build system to Meson

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cc.sh

    rfa70134 r32b4302  
    3636EOF
    3737
     38# Find out the path to the script.
     39SOURCE_DIR=`which -- "$0" 2>/dev/null`
     40# Maybe we are running bash.
     41[ -z "$SOURCE_DIR" ] && SOURCE_DIR=`which -- "$BASH_SOURCE"`
     42[ -z "$SOURCE_DIR" ] && exit 1
     43SOURCE_DIR=`dirname -- "$SOURCE_DIR"`
     44SOURCE_DIR=`cd $SOURCE_DIR && cd .. && echo $PWD`
     45
    3846echo ""
    3947
    40 git grep 'Copyright ([cC])' | \
     48git -C "$SOURCE_DIR" grep 'Copyright ([cC])' | \
    4149        sed -E -n 's/^.*(Copyright \([cC]\) (20[0-9][0-9]-)?20[0-9][0-9],? [-a-zA-Z., ]*[-a-zA-Z.]$)/\1/p' | \
    4250        sed -E 's/ ( )+/ /' | \
Note: See TracChangeset for help on using the changeset viewer.