certbot/letsencrypt-auto-source/tests/uname_wrapper.sh

11 lines
172 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -e
uname_output=$(/bin/uname_orig "$@")
if [ "$UNAME_FAKE_32BITS" = true ]; then
uname_output="${uname_output//x86_64/i686}"
fi
echo "$uname_output"