add missing stuff from tg@
[openadk.git] / scripts / sed
blob36cfdbfa7a4b595c30ff7203f7f21313ccf30d71
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 gsed 2>/dev/null)" ];then
6 /bin/sed "$@"
7 else
8 gsed "$@"
9 fi