File: gcc

package info (click to toggle)
dpkg 1.23.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 59,120 kB
  • sloc: ansic: 40,205; perl: 30,746; sh: 18,907; cpp: 6,054; makefile: 5,226; sed: 127
file content (20 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

args="$*"

while [ $# -gt 0 ]; do
  opt="$1"
  shift

  case "$opt" in
  -dumpmachine)
    echo x86_64-linux-gnu
    exit 0
  esac
done

# Otherwise fail hard.
echo "$0: unsupported command ($args) in mock wrapper"
exit 1