~ajkavanagh/+junk/useful-things

« back to all changes in this revision

Viewing changes to scripts/novarc_unset.sh

  • Committer: Alex Kavanagh
  • Date: 2017-09-22 18:17:32 UTC
  • Revision ID: alex.kavanagh@canonical.com-20170922181732-13snyy8l8d02ewy2
Moved the scripts to vcsh-scripts for consistency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
_OS_PARAMS=$(env | awk 'BEGIN {FS="="} /^OS_/ {print $1;}' | paste -sd ' ')
2
 
for param in $_OS_PARAMS; do
3
 
    unset $param
4
 
done
5
 
unset _OS_PARAMS