add wildcards to prevent double dir (#2287)

This commit is contained in:
David Holdeman 2021-02-05 22:09:35 -06:00 committed by GitHub
parent 4e96eb47f2
commit 094dc77718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ doxygen || { echo "doxygen run FAILED"; exit 1; }
cd ../doxygen
if [ -n "$RUSEFI_FTP_SERVER" ]; then
echo "Uploading Doxygen"
ncftpput -R -m -u "$RUSEFI_DOXYGEN_FTP_USER" -p "$RUSEFI_DOXYGEN_FTP_PASS" "$RUSEFI_FTP_SERVER" /html html/
ncftpput -R -m -u "$RUSEFI_DOXYGEN_FTP_USER" -p "$RUSEFI_DOXYGEN_FTP_PASS" "$RUSEFI_FTP_SERVER" /html html/*
fi
[ $? -eq 0 ] || { echo "upload FAILED"; exit 1; }
@ -48,6 +48,6 @@ done
if [ -n "$RUSEFI_FTP_SERVER" ]; then
echo "Uploading Pinouts"
ncftpput -R -m -u "$RUSEFI_DOXYGEN_FTP_USER" -p "$RUSEFI_DOXYGEN_FTP_PASS" "$RUSEFI_FTP_SERVER" /pinouts pinouts/
ncftpput -R -m -u "$RUSEFI_DOXYGEN_FTP_USER" -p "$RUSEFI_DOXYGEN_FTP_PASS" "$RUSEFI_FTP_SERVER" /pinouts pinouts/*
fi
[ $? -eq 0 ] || { echo "upload FAILED"; exit 1; }