bash: set cache-file to /dev/null, breaks cross-compiling otherwise
[openadk.git] / scripts / awk
blobff6f9b002e043160c6b6012b9d29e775e6fd5e37
1 #!/usr/bin/env bash
2 # This file is part of the OpenADK project. OpenADK is copyrighted
3 # material, please see the LICENCE file in the top-level directory.
5 if [ -z "$(which gawk 2>/dev/null)" ];then
6 /bin/awk "$@"
7 else
8 gawk "$@"
9 fi