-
Notifications
You must be signed in to change notification settings - Fork 38
ENT-12600: clean-buildmachine: Documented script #1766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Lars Erik Wik <[email protected]>
I also: - fixed shellcheck issues - added an if statement to prevent accedental deletion root on AIX in case of prefix being empty or undefined - added a debug log message Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but @craigcomstock is probably more qualified :)
# Don't run this script on your dev machine! You may accidentally delete | ||
# something very important. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Don't run this script on your dev machine! You may accidentally delete | |
# something very important. | |
# Don't run this script on your dev machine! You may accidentally delete something very important. |
# This script cleans a build machine by uninstalling cfbuild and removing the | ||
# contents of the PREFIX directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This script cleans a build machine by uninstalling cfbuild and removing the | |
# contents of the PREFIX directory. | |
# This script cleans a build machine by uninstalling cfbuild and removing the contents of the PREFIX directory. |
What is 'cfbuild'? ;) do you mean all the cfbuild- prefixed packages which are made by install-dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe cfbuild
to you means the built items in $PREFIX, typically /var/cfengine.
Build with no tests
