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