Browse Source

Issue 2736 - https://github.com/389ds/389-ds-base/issues/2736

Description:  Adjust perl and python scripts shebangs for be absolute values

relates: https://github.com/389ds/389-ds-base/issues/2736

Reviewed by: firstyear(Thanks!)
Mark Reynolds 4 years ago
parent
commit
54db3f7d9f

+ 2 - 2
ldap/admin/src/logconv.pl

@@ -1,8 +1,8 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 #
 # BEGIN COPYRIGHT BLOCK
 # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2020 Red Hat, Inc.
+# Copyright (C) 2021 Red Hat, Inc.
 # All rights reserved.
 #
 # License: GPL (version 3 or any later version).

+ 10 - 0
ldap/admin/src/scripts/failedbinds.py

@@ -1,3 +1,13 @@
+#!/usr/bin/python3
+
+# --- BEGIN COPYRIGHT BLOCK ---
+# Copyright (C) 2021 Red Hat, Inc.
+# All rights reserved.
+#
+# License: GPL (version 3 or any later version).
+# See LICENSE for details.
+# --- END COPYRIGHT BLOCK ---
+
 import re
 import sys
 import os, os.path

+ 10 - 0
ldap/admin/src/scripts/logregex.py

@@ -1,3 +1,13 @@
+#!/usr/bin/python3
+
+# --- BEGIN COPYRIGHT BLOCK ---
+# Copyright (C) 2021 Red Hat, Inc.
+# All rights reserved.
+#
+# License: GPL (version 3 or any later version).
+# See LICENSE for details.
+# --- END COPYRIGHT BLOCK ---
+
 import sys
 import re
 import __main__ # to use globals

+ 8 - 2
ldap/admin/src/scripts/ns-slapd-gdb.py

@@ -1,5 +1,7 @@
+#!/usr/bin/python3
+
 # --- BEGIN COPYRIGHT BLOCK ---
-# Copyright (C) 2017 Red Hat, Inc.
+# Copyright (C) 2021 Red Hat, Inc.
 # All rights reserved.
 #
 # License: GPL (version 3 or any later version).
@@ -15,10 +17,10 @@
 
 import itertools
 import re
-
 import gdb
 from gdb.FrameDecorator import FrameDecorator
 
+
 class DSAccessLog (gdb.Command):
     """Display the Directory Server access log."""
     def __init__ (self):
@@ -32,6 +34,7 @@ class DSAccessLog (gdb.Command):
             print(l)
         print('===== END ACCESS LOG =====')
 
+
 class DSBacktrace(gdb.Command):
     """Display a filtered backtrace"""
     def __init__ (self):
@@ -85,6 +88,7 @@ class DSBacktrace(gdb.Command):
 
         print('===== END ACTIVE THREADS =====')
 
+
 class DSIdleFilterDecorator(FrameDecorator):
     def __init__(self, fobj):
         super(DSIdleFilterDecorator, self).__init__(fobj)
@@ -100,6 +104,7 @@ class DSIdleFilterDecorator(FrameDecorator):
 
         return name
 
+
 class DSIdleFilter():
     def __init__(self):
         self.name = "DSIdleFilter"
@@ -117,6 +122,7 @@ class DSIdleFilter():
             frame_iter = map(DSIdleFilterDecorator, frame_iter)
         return frame_iter
 
+
 class DSEntryPrint (gdb.Command):
     """Display a Slapi_Entry"""
     def __init__(self):