X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcheck_security_fixes.py;h=ed3112058b76c15751a2eb3636552b03cfee53bd;hb=49f0caac6cf944a238401a74bce2c37c7c99583b;hp=96925fe4595c35d66d8066a2ae16c939ce084b09;hpb=a959b199b8f4790bf311c4e9c4b96b4ffb494eeb;p=platal.git diff --git a/bin/check_security_fixes.py b/bin/check_security_fixes.py index 96925fe..ed31120 100755 --- a/bin/check_security_fixes.py +++ b/bin/check_security_fixes.py @@ -1,6 +1,6 @@ #!/usr/bin/env python #*************************************************************************** -#* Copyright (C) 2003-2010 Polytechnique.org * +#* Copyright (C) 2003-2011 Polytechnique.org * #* http://opensource.polytechnique.org/ * #* * #* This program is free software; you can redistribute it and/or modify * @@ -25,10 +25,10 @@ patches. Important notice: do not execute this script directly from an automatic checkout of plat/al. It would be extremely unwise to execute it with root privileges from -a place where everybody can change it ! +a place where everybody can change it! Usage (-w updates the local .htaccess to disable guilty working copies): - check_security_fixes.py [-w] -b REFERENCE_PLATAL PLATAL_TO_CHECK ... + check_security_fixes.py [-w] -b REFERENCE_PLATAL PLATAL_TO_CHECK... """ import optparse @@ -143,7 +143,7 @@ def SelfCheckIsLatestVersion(base_path): most deployment will want to execute this script with root privileges, which implies that this script is deployed in a safe directory, and not just executed from an automatically updated checkout of plat/al (how - unsafe would that be ...).""" + unsafe would that be...).""" base_script = os.path.join(base_path, 'bin/check_security_fixes.py') local_script = os.path.abspath(sys.argv[0])