From 0b2a394cbcebc3257f6a222f8123bd6f0bb23bc2 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 16 Jun 2020 18:32:16 -0700 Subject: [PATCH] Fix /usr/bin/env with script args. --- packaging/branch-from-patch | 2 +- packaging/nightly-rsync | 2 +- packaging/patch-update | 2 +- packaging/release-rsync | 2 +- packaging/var-checker | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packaging/branch-from-patch b/packaging/branch-from-patch index 91b9466b..dfd3a29a 100755 --- a/packaging/branch-from-patch +++ b/packaging/branch-from-patch @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 -B +#!/usr/bin/env -S python3 -B # This script turns one or more diff files in the patches dir (which is # expected to be a checkout of the rsync-patches git repo) into a branch diff --git a/packaging/nightly-rsync b/packaging/nightly-rsync index f971088f..020a6d56 100755 --- a/packaging/nightly-rsync +++ b/packaging/nightly-rsync @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 -B +#!/usr/bin/env -S python3 -B # This script expects the directory ~/samba-rsync-ftp to exist and to be a # copy of the /home/ftp/pub/rsync dir on samba.org. It also requires a diff --git a/packaging/patch-update b/packaging/patch-update index 255a8c25..c6b51527 100755 --- a/packaging/patch-update +++ b/packaging/patch-update @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 -B +#!/usr/bin/env -S python3 -B # This script is used to turn one or more of the "patch/BASE/*" branches # into one or more diffs in the "patches" directory. Pass the option diff --git a/packaging/release-rsync b/packaging/release-rsync index 11a4fd54..1fd3bbe3 100755 --- a/packaging/release-rsync +++ b/packaging/release-rsync @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 -B +#!/usr/bin/env -S python3 -B # This script expects the directory ~/samba-rsync-ftp to exist and to be a # copy of the /home/ftp/pub/rsync dir on samba.org. When the script is done, diff --git a/packaging/var-checker b/packaging/var-checker index 6468ac7a..e021127c 100755 --- a/packaging/var-checker +++ b/packaging/var-checker @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 -B +#!/usr/bin/env -S python3 -B # This script checks the *.c files for extraneous "extern" variables, # for vars that are defined but not used, and for inconsistent array -- 2.47.2