spreadshirt / f3 Goto Github PK
View Code? Open in Web Editor NEWf3 is a bridge between FTP and an s3-compatible object storage.
License: MIT License
f3 is a bridge between FTP and an s3-compatible object storage.
License: MIT License
Hi,
it looks like the Makefile hast issues on Macos.
The date function has been updated and the parameters are not valid anymore.
and the install Flags caused an error for me as well.
Changing:
GO_FLAGS :=-ldflags="-X $(META_PACKAGE_IMPORT_PATH).Version=$(VERSION) -X $(META_PACKAGE_IMPORT_PATH).BuildTime=$(shell date --iso-8601=seconds --utc)"
https://github.com/spreadshirt/f3/blob/master/Makefile#L6
To:
DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
GO_FLAGS :=-ldflags="-X $(META_PACKAGE_IMPORT_PATH).Version=$(VERSION) -X $(META_PACKAGE_IMPORT_PATH).BuildTime=$(DATE)"
did the trick for me. The issue was at: date --iso-8601=seconds --utc
and somehow this:
https://github.com/spreadshirt/f3/blob/master/Makefile#L17-L22
install: f3
ifeq ($$EUID, 0)
@install --mode=0755 --verbose f3 /usr/local/bin
else
@install --mode=0755 --verbose f3 $$HOME/.local/bin
endif
needed to be changed to:
install: f3
ifeq ($$EUID, 0)
@install -m 0755 -v f3 /usr/local/bin
else
@install -m 0755 -v f3 $$HOME/.local/bin
endif
After those changes the script ran.
Don't know if you prefer pull requests or want to submit the changes by yourself? Obviously I can only speak for Macos here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.