source: mainline/tools/mkarray_for_meson.sh@ 512579c

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 512579c 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
Line 
1#!/bin/bash
2
3TOOLS_DIR=`which -- "$0" 2>/dev/null`
4if [ -z "$TOOLS_DIR" ]; then
5 TOOLS_DIR=`which -- "$BASH_SOURCE" 2>/dev/null`
6fi
7TOOLS_DIR=`dirname $TOOLS_DIR`
8TOOLS_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
18shift 5
19
20for file in "$@"; do
21 _inputs="$_inputs $PWD/${file}"
22done
23
24cd $_outdir
25$TOOLS_DIR/mkarray.py "$_arg1" "$_arg2" "$_arg3" "$_arg4" $_inputs > /dev/null
Note: See TracBrowser for help on using the repository browser.