mirror of https://github.com/rusefi/rusefi-1.git
add wildcards to prevent double dir (#2287)
This commit is contained in:
parent
4e96eb47f2
commit
094dc77718
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue