Browse code

Don't install mulle-brew link

Nat! authored on 24-04-2017 17:04:19
Showing 2 changed files
... ...
@@ -72,14 +72,19 @@ canonicalize_path()
72 72
 {
73 73
    if [ -d "$1" ]
74 74
    then
75
-      ( cd "$1" && pwd -P )
75
+   (
76
+      cd "$1" 2>/dev/null && pwd -P
77
+   )
76 78
    else
77 79
       local dir
78 80
       local file
79 81
 
80 82
       dir="`dirname "$1"`"
81 83
       file="`basename -- "$1"`"
82
-      ( cd "${dir}" 2>/dev/null && echo "`pwd -P`/${file}" )
84
+      (
85
+         cd "${dir}" 2>/dev/null &&
86
+         echo "`pwd -P`/${file}"
87
+      )
83 88
    fi
84 89
 }
85 90
 
... ...
@@ -171,19 +176,6 @@ main()
171 176
    install -m "${mode}" "mulle-bootstrap-dotdump" "${bin}/mulle-bootstrap-dotdump" || exit 1
172 177
    printf "install: ${C_MAGENTA}${C_BOLD}%s${C_RESET}\n" "${bin}/mulle-bootstrap-dotdump" >&2
173 178
 
174
-   case `uname` in
175
-      MINGW*)
176
-         install -m "${mode}" "mulle-bootstrap" "${bin}/mulle-brew" || exit 1
177
-         printf "install: ${C_MAGENTA}${C_BOLD}%s${C_RESET}\n" "${bin}/mulle-brew" >&2
178
-      ;;
179
-
180
-      *)
181
-         ln -f "${bin}/mulle-bootstrap" "${bin}/mulle-brew" || exit 1
182
-         printf "install: ${C_MAGENTA}${C_BOLD}%s${C_RESET}\n" "${bin}/mulle-brew" >&2
183
-      ;;
184
-   esac
185
-
186
-
187 179
    case `uname` in
188 180
       MINGW*)
189 181
          for i in mulle-mingw-*sh
... ...
@@ -31,7 +31,7 @@
31 31
 #
32 32
 MULLE_EXECUTABLE_VERSION_MAJOR=3
33 33
 MULLE_EXECUTABLE_VERSION_MINOR=5
34
-MULLE_EXECUTABLE_VERSION_PATCH=0
34
+MULLE_EXECUTABLE_VERSION_PATCH=1
35 35
 
36 36
 MULLE_EXECUTABLE_VERSION="${MULLE_EXECUTABLE_VERSION_MAJOR}.${MULLE_EXECUTABLE_VERSION_MINOR}.${MULLE_EXECUTABLE_VERSION_PATCH}"
37 37