lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since e503cea9 was 5fd05862, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago |
Convert uspace to meson
|
-
Property mode
set to
100755
|
File size:
433 bytes
|
Rev | Line | |
---|
[5fd05862] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | TOOLS_DIR=`which -- "$0" 2>/dev/null`
|
---|
| 4 | if [ -z "$TOOLS_DIR" ]; then
|
---|
| 5 | TOOLS_DIR=`which -- "$BASH_SOURCE" 2>/dev/null`
|
---|
| 6 | fi
|
---|
| 7 | TOOLS_DIR=`dirname $TOOLS_DIR`
|
---|
| 8 | TOOLS_DIR=`cd $TOOLS_DIR && echo $PWD`
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | _outdir="$1"
|
---|
| 12 | _arg1="$2"
|
---|
| 13 | _arg2="$3"
|
---|
| 14 | _arg3="$4"
|
---|
| 15 | _arg4="$5"
|
---|
| 16 | _inputs=""
|
---|
| 17 |
|
---|
| 18 | shift 5
|
---|
| 19 |
|
---|
| 20 | for file in "$@"; do
|
---|
| 21 | _inputs="$_inputs $PWD/${file}"
|
---|
| 22 | done
|
---|
| 23 |
|
---|
| 24 | cd $_outdir
|
---|
| 25 | $TOOLS_DIR/mkarray.py "$_arg1" "$_arg2" "$_arg3" "$_arg4" $_inputs > /dev/null
|
---|
Note:
See
TracBrowser
for help on using the repository browser.