mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Prefer /usr/bin/env and searching from PATH
This commit is contained in:
parent
2cb8f1d5ea
commit
3c402d4fb7
6 changed files with 6 additions and 6 deletions
|
@ -130,7 +130,7 @@ class TestBug1436(TestCase):
|
|||
|
||||
This problem is entirely testing artifact, and not Taskwarrior.
|
||||
"""
|
||||
self.echo = Task(taskw=utils.binary_location("/bin/echo"))
|
||||
self.echo = Task(taskw=utils.binary_location("echo", USE_PATH=True))
|
||||
|
||||
# One level of backshashes gets eaten by bash
|
||||
# Verify with: $ echo xxx \\\\yyy zzz
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test for TW-1883 (#1896 on Github)
|
||||
# https://github.com/GothenburgBitFactory/taskwarrior/issues/1896
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. bash_tap_tw.sh
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# A test case for TW-2124.
|
||||
# https://github.com/GothenburgBitFactory/taskwarrior/issues/2124
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. bash_tap_tw.sh
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. bash_tap_tw.sh
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue