]> Kevux Git Server - fll/commitdiff
Cleanup: Add unset main at the end of the example process scripts.
authorKevin Day <Kevin@kevux.org>
Sun, 8 Jun 2025 23:48:11 +0000 (18:48 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 8 Jun 2025 23:48:11 +0000 (18:48 -0500)
level_3/fake/data/projects/go/example_go/data/build/process_post.sh
level_3/fake/data/projects/go/example_go/data/build/process_pre.sh

index a5fc4d84e061b5bd3edab3d492f8bd4d212c6cae..b9b546068554a4d0f9abe77f6ca0a9e624b7003f 100755 (executable)
@@ -3,6 +3,7 @@
 main() {
   local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope.
 
+  unset main
 }
 
 main ${*}
index a5fc4d84e061b5bd3edab3d492f8bd4d212c6cae..b9b546068554a4d0f9abe77f6ca0a9e624b7003f 100755 (executable)
@@ -3,6 +3,7 @@
 main() {
   local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope.
 
+  unset main
 }
 
 main ${*}