Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gsdukbh committed Nov 1, 2021
1 parent 666abb3 commit 64d952d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ _date=`date +"%Y"`
day=`date +"%m"`
m=$((10#$day - 1))
yeara=$((10#$_date-1))
if [ -$m -lt 10 ]; then
if [ -$m -ge 10 ]; then
nl=$(echo "${_date}-0${m}")
else
nl=$(echo "${_date}-${m}")
fi

echo $nl

images=`ls | grep images/4k_$nl`

Expand Down

0 comments on commit 64d952d

Please sign in to comment.