1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/git-flow/fix-busybox-readlink.patch
2020-06-02 20:22:16 +00:00

13 lines
354 B
Diff

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'