Skip to content

Commit

Permalink
Merge pull request #4228 from gforney/development
Browse files Browse the repository at this point in the history
firebot: remove _new from manual file names uploaded to google drive
Former-commit-id: 1158d69d07f2232b14af2608f0add90fde473a86 [formerly 0f3f10b832586824e958f5b0c7c599d4a2211125]
Former-commit-id: b9153651938043b414da615aecd78fde3d0e51cb
Former-commit-id: 5934563
  • Loading branch information
gforney authored Aug 22, 2016
2 parents 9f7a1aa + edca7d1 commit f2b30d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Utilities/Firebot/fds_guides2GD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ UPLOADGUIDE ()
{
cd $FROMDIR
FILE=$1
FILEnew=${FILE}_new.pdf
cp $FILE.pdf $FILEnew
FILEnew=${FILE}.pdf
$GDRIVE list | grep $FILEnew | awk '{ system("~/bin/gdrive delete -i " $1)} '
$GDRIVE upload -p $MANUAL_PARENT_ID -f $FILEnew
}
Expand Down

0 comments on commit f2b30d1

Please sign in to comment.