Has checkinstall changed since I last checked? I thought you passed the script to run as an argument. Unless it's spawning a sub-shell now.