nixpkgs/pkgs/tools/text/gawk/setup-hook.sh
tomberek 774ad67ce0 gawkextlib: init at unstable-2019-11-21 (#51721)
Co-Authored-By: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2019-12-07 20:07:33 -05:00

7 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"