]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Core/FileHook.py
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Core / FileHook.py
index d8736a872366e83f8bd7456f3a28cc536f828624..20712065f742f02249da506cd8154ac66c436b56 100644 (file)
@@ -1,15 +1,9 @@
 ## @file\r
 # This file hooks file and directory creation and removal\r
 #\r
-# Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
-# This program and the accompanying materials are licensed and made available \r
-# under the terms and conditions of the BSD License which accompanies this \r
-# distribution. The full text of the license may be found at \r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 \r
 '''\r
@@ -166,7 +160,7 @@ def _hookrm(path):
     else:\r
         __built_in_remove__(path)\r
 \r
-def _hookmkdir(path, mode=0777):\r
+def _hookmkdir(path, mode=0o777):\r
     if GlobalData.gRECOVERMGR:\r
         GlobalData.gRECOVERMGR.bkmkdir(path, mode)\r
     else:\r