Fix '+' sign in date output

This commit is contained in:
Dylan 2016-03-26 14:22:10 +11:00
parent f2253afbfa
commit 1442216ded

View file

@ -1725,7 +1725,7 @@ getbirthday () {
case "$os" in case "$os" in
"Linux") "Linux")
birthday="$(ls -alct --full-time / | awk '/lost\+found/ {printf $6 " " $7}')" birthday="$(ls -alct --full-time / | awk '/lost\+found/ {printf $6 " " $7}')"
date_cmd="$(date -d"$birthday" +"$birthday_format")" date_cmd="$(date -d"$birthday" "$birthday_format")"
;; ;;
"Mac OS X") "Mac OS X")