20 lines
241 B
Bash
Executable file
20 lines
241 B
Bash
Executable file
#!/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
|