Skip to content

Commit 715f5fd

Browse files
committed
* Rebuild PATH
1 parent c821fce commit 715f5fd

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.2.2 (2017/10/29)
4+
5+
* Rebuild PATH
6+
37
## 4.2.1 (2017/10/16)
48

59
* Add ssmtp on Docker image to send emails

ftpgrab.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
###################################################################################
44
# #
5-
# FTPGrab v4.2.1 #
5+
# FTPGrab v4.2.2 #
66
# #
77
# Simple script to grab your files from a remote FTP server. #
88
# #
@@ -481,6 +481,7 @@ function ftpgrabDebug() {
481481
### BEGIN ###
482482

483483
#SCRIPT_NAME=$(basename "$0")
484+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
484485

485486
# Default config
486487
DIR_DEST="/tmp/seedbox"
@@ -550,7 +551,7 @@ mkdir -p "$HASH_DIR"
550551
if [ ! -d "$HASH_DIR" ]; then ftpgrabEcho "ERROR: Cannot create dir $HASH_DIR with $(whoami) user"; exit 1; fi
551552
if [ ! -w "$HASH_DIR" ]; then ftpgrabEcho "ERROR: Dir $HASH_DIR is not writable by $(whoami)"; exit 1; fi
552553

553-
ftpgrabEcho "FTPGrab v4.2.1 ($BASENAME_FILE - $(date +"%Y/%m/%d %H:%M:%S"))"
554+
ftpgrabEcho "FTPGrab v4.2.2 ($BASENAME_FILE - $(date +"%Y/%m/%d %H:%M:%S"))"
554555
ftpgrabEcho "--------------"
555556

556557
# Check required packages

0 commit comments

Comments
 (0)