Closed wolfwood closed 4 years ago
abstract out calls to the date command into wrapper functions that can provide platform-specific behavior.
place platform check and functions in a script that can be source'd by raster.sh and paint.sh.
source
raster.sh
paint.sh
@lindsaylevine has discovered that the current approach doesn't work on OS X because GNU date and BSD date are different. reported in #8
date
I don't have access to test this, but it looks like a solution is emerging on #8. Would be happy to accept a PR on this.
yeah, just made this as a placeholder til I have a commit for a PR
abstract out calls to the date command into wrapper functions that can provide platform-specific behavior.
place platform check and functions in a script that can be
source
'd byraster.sh
andpaint.sh
.@lindsaylevine has discovered that the current approach doesn't work on OS X because GNU
date
and BSDdate
are different. reported in #8