CVS commit: src/external/bsd/tmux

"Robert Elz" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	kre
Date:		Fri Jun 19 07:49:00 UTC 2026

Modified Files:
	src/external/bsd/tmux: prepare-import.sh

Log Message:
tmux/prepare-import.sh - script cleanups

A bunch of minor changes that really affect nothing, but
be sure to never use "test ... -a ...", and avoid using
	local "var=$(cmdsub)"
or the status from the cmdsub is ignored, do it in 2 commands
	local var
	var=$(cmdsub)
[And yes, the quotes are needed in the former version, not in the new.]

Also, after setting a trap to cleanup in case of a signal, remove it
again after the cleanup has been done.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/tmux/prepare-import.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.