kmpkg_backup_env_variables
Backup a set of environment variables.
Usage
kmpkg_backup_env_variables(VARS [<environment-variable>...])
VARS
The variables to backup.
Notes
Variables are backed up into the current scope. You must call kmpkg_restore_env_variables() from the same scope as kmpkg_backup_env_variables().
kmpkg_restore_env_variables() does not destroy the variables backed up with kmpkg_backup_env_variables() and so can be called multiple times within the same scope to reset back to the original values.