File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
build_tags=" "
3
3
4
4
if [[ $( arch) == " arm64" && -z " $LIBRARY_PATH " && -d /opt/homebrew ]]; then
11
11
fi
12
12
13
13
if [[ -f " $HEIF_PATH /libheif.1.dylib" ]]; then
14
- echo " libheif found in $HEIF_PATH , compiling with heif support"
15
14
build_tags=" libheif"
16
- else
17
- echo " libheif not found in $HEIF_PATH , compiling without heif support"
18
15
fi
19
16
20
- go build -tags " $build_tags " -ldflags " -X main.Tag=$( git describe --exact-match --tags 2> /dev/null) -X main.Commit=$( git rev-parse HEAD) -X 'main.BuildTime=` date ' +%b %_d %Y, %H:%M:%S' ` '"
17
+ go build -tags " $build_tags " -ldflags " -X main.Tag=$( git describe --exact-match --tags 2> /dev/null) -X main.Commit=$( git rev-parse HEAD) -X 'main.BuildTime=` date ' +%b %_d %Y, %H:%M:%S' ` '" " $@ "
You can’t perform that action at this time.
0 commit comments