waggle-sensor / waggle_image

Scripts to create waggle disk images
2 stars 6 forks source link

check directory and file and print sane errors #17

Closed nikhil003 closed 6 years ago

nikhil003 commented 6 years ago

Added some bits of code to check if the directory and image for a preceding stage exists or print a error message and exit. It also checks for the directories (stage*) to be present.