]> Kevux Git Server - kit-legacy/commitdiff
Cleanup: make sure unset functions call themselves
authorKevin Day <thekevinday@gmail.com>
Tue, 30 Jul 2013 06:38:08 +0000 (01:38 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 30 Jul 2013 06:38:08 +0000 (01:38 -0500)
26 files changed:
sources/sh/kit
sources/sh/kit-core
sources/sh/kit-distribution
sources/sh/kit-dynamic
sources/sh/kit-fss
sources/sh/kit-log
sources/sh/kit-message
sources/sh/kit-operation
sources/sh/kit-operation-access
sources/sh/kit-operation-attribute
sources/sh/kit-operation-directory
sources/sh/kit-operation-file
sources/sh/kit-operation-group
sources/sh/kit-operation-if
sources/sh/kit-operation-library
sources/sh/kit-operation-mode
sources/sh/kit-operation-path
sources/sh/kit-operation-shell
sources/sh/kit-operation-strip
sources/sh/kit-operation-version
sources/sh/kit-package
sources/sh/kit-permission
sources/sh/kit-procedure
sources/sh/kit-read
sources/sh/kit-reserved
sources/sh/kit-rule

index 5bb2b9d640adb9cdbcc3da892a84ae7cc1586fb8..04769545c7a38571d80326ea9fc26a333ae75e0d 100755 (executable)
@@ -429,6 +429,7 @@ cleanup_main() {
 
   unset cleanup_before_exit
   unset main
+  unset cleanup_main
 }
 
 
index 720e4d7d4a47dc80d3273e64f3c593fc85e1ea0a..1780b7e1618008e3b3f5f728ab39bf77ac73137a 100755 (executable)
@@ -11,12 +11,12 @@ kit_core_unset(){
   unset kit_core_error
   unset kit_core_warning
   unset kit_core_is_empty
-  unset kit_core_unset
   unset kit_core_to_lower
   unset kit_core_to_upper
   unset kit_core_alpha_numeric
   unset kit_core_directory_ending
   unset kit_core_get_random
+  unset kit_core_unset
 }
 
 kit_core_main(){
index 737042bf65e7dc9c8c6565ed2e404fe009ad08ee..d2bb2a482fd01862571a224e2814eb60f33cb488 100755 (executable)
@@ -3,6 +3,7 @@
 
 kit_distribution_unset() {
   unset kit_distribution_load
+  unset kit_distribution_unset
 }
 
 kit_distribution_load() {
index 0a5f07a74403711adb9612fb461ca9b979afa9c6..b0bb0a39dc705c0289c1b2341ca709e60ed4033a 100755 (executable)
@@ -16,6 +16,7 @@ kit_dynamic_unset() {
   unset kit_dynamic_strategy_load
   unset kit_dynamic_sanitize
   unset kit_dynamic_safe_expand
+  unset kit_dynamic_unset
 }
 
 kit_dynamic_error() {
index 7cb1262d26be19b6920617afea087c6525bfc3d4..7e79908f5b6706799bd64933d141e259a56ca223 100755 (executable)
@@ -2,10 +2,11 @@
 # provides functions for reading and writing in fss format.
 
 kit_fss_unset() {
-  unset kit_kit_has_fss_error
+  unset kit_fss_has_error
   unset kit_fss_exit_on_error
   unset kit_fss_read
   unset kit_fss_read_path
+  unset kit_fss_unset
 }
 
 
index 5b2ce212ac5ce29c5bdcb3623ce6afeda8d594a5..4776d65e670aee654e904afb1163cf02f5e40493 100755 (executable)
@@ -5,6 +5,7 @@ kit_log_unset() {
   unset kit_log_section
   unset kit_log_message
   unset kit_log_message_raw
+  unset kit_log_unset
 }
 
 kit_log_section() {
index 560b129cf01e25f06489bb790d0323136face028..82b3fcc35fb891076067bc35909e8cc613377dc0 100755 (executable)
@@ -15,6 +15,7 @@ kit_message_unset() {
   unset kit_message_highlight_no_log
   unset kit_message_important_no_log
   unset kit_message_help
+  unset kit_message_unset
 }
 
 kit_message_log() {
index 3ca7f64a5c8728347a28d17f21be5f3e32a805ad..84188ab3f51169b3a2e7e79d6cf84fd1b5137da7 100755 (executable)
@@ -5,6 +5,7 @@ kit_operation_unset() {
   unset kit_operation_error
   unset kit_operation_message
   unset kit_operation_format
+  unset kit_operation_unset
 }
 
 kit_operation_error() {
index bf85ec47a86d99288a0fe8c6a5a3d6631a0295fe..cec1434a1b8912b61486493e81c6faabd2bf46fe 100755 (executable)
@@ -14,6 +14,7 @@ kit_operation_access_unset() {
   unset kit_operation_access_apply
   unset kit_operation_access_resume
   unset kit_operation_access
+  unset kit_operation_access_unset
 }
 
 kit_operation_access_apply() {
index fdac298f07919fe733deaf379537efe232d404b1..59a794e9638d0701555800214b7d7ae50a6fbb0c 100755 (executable)
@@ -14,6 +14,7 @@ kit_operation_attribute_unset() {
   unset kit_operation_attribute_apply
   unset kit_operation_attribute_resume
   unset kit_operation_attribute
+  unset kit_operation_attribute_unset
 }
 
 kit_operation_attribute_apply() {
index 6fa23ea92f2718eac65a934bbf8e55cfae45656e..1bb6a428fdcb86741111dfc4b289937aae3c089e 100755 (executable)
@@ -24,6 +24,7 @@
 
 kit_operation_directory_unset() {
   unset kit_operation_directory
+  unset kit_operation_directory_unset
 }
 
 kit_operation_directory() {
index 3fd76a194c290ff3b955ad69e73bddddafbc2e3d..76719014d27222fd8f7b0ec6f1a85f5c441b33c4 100755 (executable)
@@ -36,6 +36,7 @@
 
 kit_operation_file_unset() {
   unset kit_operation_file
+  unset kit_operation_file_unset
 }
 
 kit_operation_file() {
index 7c1e16694111dd4a02c95acfcf84f5053b5c8f51..19b9ab28687a4cd9868bc88c8aa9c9668252a4e0 100755 (executable)
@@ -13,6 +13,7 @@ kit_operation_group_unset() {
   unset kit_operation_group_apply
   unset kit_operation_group_resume
   unset kit_operation_group
+  unset kit_operation_group_unset
 }
 
 kit_operation_group_apply() {
index 2027d42d95eff1be00558616e15bd027a655a583..3f366b20dcb9a916d1f7cadd42112beb6b74c198 100755 (executable)
@@ -21,6 +21,7 @@
 kit_operation_if_unset() {
   unset kit_operation_if_resume
   unset kit_operation_if
+  unset kit_operation_if_unset
 }
 
 kit_operation_if_resume() {
index ae51d9d8441dd09f67fdedfcb256b31d9120ce81..4b7910e3ccf78f529cc8818b8d88df33396c7869 100755 (executable)
@@ -22,6 +22,7 @@
 
 kit_operation_library_unset() {
   unset kit_operation_library
+  unset kit_operation_library_unset
 }
 
 kit_operation_library() {
index bb14b6425cd43428f14767bcb692e122d9e42ee9..2afa98f56c62a3093a1245d4abe500e37817a719 100755 (executable)
@@ -14,6 +14,7 @@ kit_operation_mode_unset() {
   unset kit_operation_mode_apply
   unset kit_operation_mode_resume
   unset kit_operation_mode
+  unset kit_operation_mode_unset
 }
 
 kit_operation_mode_apply() {
index 6b49442a7e01358dba3e32d4581c61d74f52a3e6..668d0ea486a35c4a9a242679641816fec964cf4d 100755 (executable)
@@ -12,6 +12,7 @@
 kit_operation_path_unset() {
   unset kit_operation_path
   unset kit_operation_path_resume
+  unset kit_operation_path_unset
 }
 
 kit_operation_path() {
index 80e7bd40ad26112220c64115744846bb8a686c05..7744b54a9f3398db0f1b9d97eaa3cf164a3ab6c4 100755 (executable)
@@ -9,6 +9,7 @@
 
 kit_operation_shell_unset() {
   unset kit_operation_shell
+  unset kit_operation_shell_unset
 }
 
 kit_operation_shell() {
index 67b944a6eda969ab7db00f0da22436959c2768b3..9764cab3252c4fd28dc52455d50ad2f65297efba 100755 (executable)
@@ -19,6 +19,7 @@
 kit_operation_strip_unset() {
   unset kit_operation_strip
   unset kit_operation_strip_apply
+  unset kit_operation_strip_unset
 }
 
 kit_operation_strip() {
index 6010b01285ee5ac89938f46c89c8facd72e1f433..ba5c5ed9c28186de240595c463109fd6b3c2c44c 100755 (executable)
@@ -15,6 +15,7 @@
 kit_operation_version_unset() {
   unset kit_operation_version
   unset kit_operation_version_resume
+  unset kit_operation_version_unset
 }
 
 kit_operation_version() {
index e4be7559fdc6e3615b326552571ce70a8857bcbe..caa923ba71bd571556ae4eaea206761dde7593ef 100755 (executable)
@@ -14,6 +14,7 @@ kit_package_unset() {
   unset kit_package_version_save
   unset kit_package
   unset kit_package_individual
+  unset kit_package_unset
 }
 
 kit_package_read() {
index a8bc266390fb175c6e094e7a83a832ed5d7ac2ab..7c4b300bf35bc16bd1cbe9bb6cdc0da31fa128f1 100755 (executable)
@@ -5,6 +5,7 @@ kit_permission_unset() {
   unset kit_permission_is
   unset kit_permission_set
   unset kit_permission_get
+  unset kit_permission_unset
 }
 
 kit_permission_is() {
index a4753d67e38a2fcbcf03e5a7a774b9ff30612c08..4604d5186aab2ce9fb297a49a39367a0ee0b02a9 100755 (executable)
@@ -5,6 +5,7 @@
 kit_procedure_unset() {
   unset kit_procedure_error
   unset kit_procedure
+  unset kit_procedure_unset
 }
 
 kit_procedure_error() {
index 1ab63955a65ab95431c231d69339b4d4b4139ba9..a7471050568a03bc9882779ac7756f0ae4ee89f8 100755 (executable)
@@ -3,4 +3,5 @@
 
 #kit_read_unset() {
 #  unset kit_read_line
+#  unset kit_read_unset
 #}
index 9b8f1aa51ba9a23d795db53c7e6c7c39cf194e2f..01471d2337aa173603a8072057db13cc0b8eb03a 100755 (executable)
@@ -6,6 +6,7 @@ kit_reserved_unset() {
   unset kit_reserved_get
   unset kit_reserved_set
   unset kit_reserved_register
+  unset kit_reserved_unset
 }
 
 kit_reserved_is() {
index 0272f59cf37bbc58e70cd70d7f3f4d2b4cc8845f..47615755d3450669e2519f498b4437a427ed89dc 100755 (executable)
@@ -7,6 +7,7 @@ kit_rule_unset() {
   unset kit_rule_error
   unset kit_rule_repository_load_premade
   unset kit_rule
+  unset kit_rule_unset
 }
 
 kit_rule_read() {