Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Commit 7aa82e8

Browse files
committed
Eliminate bashism
'>&' is apparently a bashism, change '>& /dev/null' to '2>&1 > /dev/null'. Problem reported by KatolaZ <katolaz@freaknet.org>. Resolves frej#99 and closes frej#100.
1 parent 02bb982 commit 7aa82e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hg-fast-export.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if command -v greadlink > /dev/null; then
88
READLINK="greadlink" # Prefer greadlink over readlink
99
fi
1010

11-
if ! $READLINK -f "$(which "$0")" >& /dev/null; then
11+
if ! $READLINK -f "$(which "$0")" 2>&1 > /dev/null; then
1212
ROOT="$(dirname "$(which "$0")")"
1313
if [ ! -f "$ROOT/hg-fast-export.py" ] ; then
1414
echo "hg-fast-exports requires a readlink implementation which knows" \

0 commit comments

Comments
 (0)