]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Don't force zsh use.
authorWayne Davison <wayne@opencoder.net>
Tue, 5 Nov 2024 19:20:28 +0000 (11:20 -0800)
committerWayne Davison <wayne@opencoder.net>
Tue, 5 Nov 2024 19:20:28 +0000 (11:20 -0800)
packaging/branch-from-patch

index 440b5835a100337624f9a74bac973c53e79e8c2d..40e5653c44f2df46778237754c9aaf2d194311dc 100755 (executable)
@@ -154,7 +154,7 @@ def create_branch(patch):
         s = cmd_run(['git', 'commit', '-a', '-m', f"Creating branch from {patch.name}.diff."])
         if not s.returncode:
             break
-        s = cmd_run(['/bin/zsh'])
+        s = cmd_run([os.environ.get('SHELL', '/bin/sh')])
         if s.returncode:
             die('Aborting due to shell error code')