source: mainline/tools/list_profiles.sh@ 58ef532

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 58ef532 was 05d97eef, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

Always add copyright information to the image and also add release script

  • Property mode set to 100755
File size: 462 bytes
Line 
1#!/bin/sh
2
3# Find out the path to the script.
4SOURCE_DIR=`which -- "$0" 2>/dev/null`
5# Maybe we are running bash.
6[ -z "$SOURCE_DIR" ] && SOURCE_DIR=`which -- "$BASH_SOURCE"`
7[ -z "$SOURCE_DIR" ] && exit 1
8SOURCE_DIR=`dirname -- "$SOURCE_DIR"`
9SOURCE_DIR=`cd $SOURCE_DIR && cd .. && echo $PWD`
10
11CONFIG_DEFAULTS="${SOURCE_DIR}/defaults"
12
13# Find all the leaf subdirectories in the defaults directory.
14find ${CONFIG_DEFAULTS} -type d -links 2 -printf "%P\n" | sort
Note: See TracBrowser for help on using the repository browser.