depot/third_party/nixpkgs/pkgs/tools/text/gawk/setup-hook.sh

6 lines
140 B
Bash

local oldOpts="-u"
shopt -qo nounset || oldOpts="+u"
set +u
. @gawk@/etc/profile.d/gawk.sh
gawklibpath_append @out@/lib/gawk
set "$oldOpts"