Skip to content

Commit

Permalink
Merge pull request cytopia#78 from cytopia/release-1.3.2
Browse files Browse the repository at this point in the history
Fixes cytopia#77 Missing var when dir does not exist
  • Loading branch information
cytopia committed Jul 12, 2022
2 parents 2fe23f3 + e04bd35 commit bc947eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog


## Release v1.3.2

#### Fixed
- Fixed #77 Missing variable when local directory is missing


## Release v1.3.1

#### Changed
Expand Down
6 changes: 3 additions & 3 deletions timemachine
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ MY_DESC="OSX-like timemachine cli script for Linux and BSD (and even OSX)"
MY_PROJ="https://github.com/cytopia/linux-timemachine"
MY_AUTH="cytopia"
MY_MAIL="cytopia@everythingcli.org"
MY_VERS="1.3.1"
MY_DATE="2021-12-02"
MY_VERS="1.3.2"
MY_DATE="2022-07-12"

# Default command line arguments
VERBOSE=
Expand Down Expand Up @@ -181,7 +181,7 @@ dir_exists() {
logdebug "Checking if local dir exists: ${directory}"
logdebug "\$ ${cmd}"
if ! eval "${cmd}" >/dev/null; then
logerr "Local directory does not exist: ${dir_part}"
logerr "Local directory does not exist: ${directory}"
return 1
fi
fi
Expand Down

0 comments on commit bc947eb

Please sign in to comment.