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

7 lines
140 B
Bash
Raw Normal View History

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