Prefer /usr/bin/env and searching from PATH
This commit is contained in:
@@ -130,7 +130,7 @@ class TestBug1436(TestCase):
|
|||||||
|
|
||||||
This problem is entirely testing artifact, and not Taskwarrior.
|
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
|
# One level of backshashes gets eaten by bash
|
||||||
# Verify with: $ echo xxx \\\\yyy zzz
|
# Verify with: $ echo xxx \\\\yyy zzz
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Test for TW-1883 (#1896 on Github)
|
# Test for TW-1883 (#1896 on Github)
|
||||||
# https://github.com/GothenburgBitFactory/taskwarrior/issues/1896
|
# https://github.com/GothenburgBitFactory/taskwarrior/issues/1896
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
. bash_tap_tw.sh
|
. bash_tap_tw.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# A test case for TW-2124.
|
# A test case for TW-2124.
|
||||||
# https://github.com/GothenburgBitFactory/taskwarrior/issues/2124
|
# https://github.com/GothenburgBitFactory/taskwarrior/issues/2124
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
. bash_tap_tw.sh
|
. bash_tap_tw.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
. bash_tap_tw.sh
|
. bash_tap_tw.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user