aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-flow/fix-busybox-readlink.patch
blob: f3bc9b20ff820db1f5a7c68708b6fbbb8fd75ed3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Patch the readlink command to work with busybox

--- old/git-flow
+++ new/git-flow
@@ -46,7 +46,7 @@
 # git-flow file is a symbolic link
 case $(uname -s) in
 Linux)
-	export GITFLOW_DIR=$(dirname "$(readlink -e "$0")")
+	export GITFLOW_DIR=$(dirname "$(readlink -f "$0")")
 	;;
 FreeBSD|OpenBSD|NetBSD)
 	export FLAGS_GETOPT_CMD='/usr/local/bin/getopt'