nextstrain / conda-base

Conda package build for nextstrain-base
https://anaconda.org/Nextstrain/nextstrain-base
1 stars 1 forks source link

BUG: `date: illegal option -- -` when running `./devel/build` on macOS #9

Closed corneliusroemer closed 1 year ago

corneliusroemer commented 1 year ago

Current Behavior

When I run ./devel/build I get an error:

conda-base on  main via 🅒 conda-base took 22s 
❯ ./devel/build
date: illegal option -- -
usage: date [-jnRu] [-r seconds|file] [-v[+|-]val[ymwdHMS]]
            [-I[date | hours | minutes | seconds]]
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
╱╱ Removing /Users/corneliusromer/code/conda-base/build and /Users/corneliusromer/code/conda-base/locked
╱╱ Building /Users/corneliusromer/code/conda-base/src into /Users/corneliusromer/code/conda-base/build/src

           _
          | |__   ___   __ _
          | '_ \ / _ \ / _` |
          | |_) | (_) | (_| |
          |_.__/ \___/ \__,_|

Loading config files: 
...

Expected behavior

No error

How to reproduce

Steps to reproduce the current behavior:

  1. ./devel/setup
  2. ./devel/build
  3. Observe result

Possible solution

(optional)

Your environment