Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove file extension only when present
If you name the machine to import without providing the extension then the old code will snip 4 characters off the end of the machine name. Since the `.zip` extension is added to the name later it would be fine to just pass the machine name, if the behaviour was changed to only remove the extension when it exists. The regular expression used for removal matches the behaviour of the import.sh script (specifically `"${filename%.*}"`.
- Loading branch information