aboutsummaryrefslogtreecommitdiffstats
path: root/testing/git-flow/fix-busybox-readlink.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/git-flow/fix-busybox-readlink.patch')
-rw-r--r--testing/git-flow/fix-busybox-readlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/git-flow/fix-busybox-readlink.patch b/testing/git-flow/fix-busybox-readlink.patch
new file mode 100644
index 0000000000..48647529dd
--- /dev/null
+++ b/testing/git-flow/fix-busybox-readlink.patch
@@ -0,0 +1,11 @@
+--- 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'