File: host-gcc-tools-wrapper

package info (click to toggle)
scratchbox2 2.2.4-1debian1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,392 kB
  • ctags: 5,239
  • sloc: ansic: 21,734; sh: 4,360; perl: 2,170; cpp: 1,913; makefile: 610; python: 184
file content (22 lines) | stat: -rwxr-xr-x 704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#
# Wrapper for host-* tools. This is not used, if use of the host-*
# tools are allowed! in that case the preload library will modify
# exec so that the real tool is executed, and not this one.
#
# Copyright (c) 2008 Nokia Corporation.
# All rights reserved.
# Author: Lauri T. Aarnio
#
# Licensed under GPL version 2

progbase=`basename $0`

echo "SB2: $progbase wrapper: Operation denied."
echo "SB2: $progbase wrapper: You see this message because the real $progbase tool"
echo "SB2: $progbase wrapper: is not available in this environment / mapping mode"

# FIXME: host-* used to be links to /bin/true; return true for compatibility,
# but we probably should do "exit 0" here...
exit 0