implement unloadModule()

This commit is contained in:
belliash 2012-01-15 23:37:51 +01:00
부모 f378a66ac5
커밋 5377983183
1개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -412,3 +412,17 @@ function toUpper() {
function trim() {
echo ${1}
}
#-------------------------------------------------------------------------------
# Silently unloads any previously loaded module
#-------------------------------------------------------------------------------
function unloadModule() {
unset EZMOD_AUTHOR
unset EZMOD_COMPATIBILITY
unset EZMOD_DESCRIPTION
unset EZMOD_VERSION
unset ezsync_precommit
unset ezsync_presync
unset ezsync_postcommit
unset ezsync_postsync
}