Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 1.1.1

This is a bugfix release. `_urdabash_version_check` would fail on some Linux instances.

- `bashrc`
- Fixed an issue with checking the timestamp on the state object.

## 1.1.0

- `bashrc`
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.1.1
4 changes: 2 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
################################################################################

if [[ -z ${URDABASH_VERSION+x} ]]; then
readonly URDABASH_VERSION="1.1.0"
readonly URDABASH_VERSION="1.1.1"
export URDABASH_VERSION
fi

Expand Down Expand Up @@ -109,7 +109,7 @@ _urdabash_version_check() {

now=$(date +%s)
if [ -f "${stamp}" ]; then
last=$(stat -f %m "${stamp}" 2>/dev/null || stat -c %Y "${stamp}" 2>/dev/null || echo 0)
last=$(stat -c %Y "${stamp}" 2>/dev/null || stat -f %m "${stamp}" 2>/dev/null || echo 0)
fi
if [[ ${force_check_now} != now ]] && (( now - last < interval )); then
return
Expand Down