Skip to content

Commit

Permalink
Do not add user site-packages directory to sys.path (RHEL-26646)
Browse files Browse the repository at this point in the history
Adds '-s' to shebang lines
  • Loading branch information
jrohel committed Apr 3, 2024
1 parent 9b2b2e8 commit 2b3f24b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/dnf-automatic.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!@PYTHON_EXECUTABLE@
#!@PYTHON_EXECUTABLE@ -s
# dnf-automatic executable.
#
# Copyright (C) 2014-2016 Red Hat, Inc.
Expand Down
2 changes: 1 addition & 1 deletion bin/dnf.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!@PYTHON_EXECUTABLE@
#!@PYTHON_EXECUTABLE@ -s
# The dnf executable script.
#
# Copyright (C) 2012-2016 Red Hat, Inc.
Expand Down
2 changes: 1 addition & 1 deletion dnf/cli/completion_helper.py.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!@PYTHON_EXECUTABLE@
#!@PYTHON_EXECUTABLE@ -s
#
# This file is part of dnf.
#
Expand Down

0 comments on commit 2b3f24b

Please sign in to comment.