File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -386,13 +386,14 @@ if __name__ == "__main__":
386386 print ".%s is not a supported extension!" % item_extension
387387 exit (1 )
388388
389+ foundapps = []
390+
389391 # if item is an app, just pass it on
390392 if item_extension == 'app' :
391393 if not os .path .exists (item_path ):
392394 print "This does not seem to be an Application!"
393395 exit (1 )
394-
395- app_path = item_path
396+ foundapps .append (item_path )
396397
397398 dmgvolumepaths = []
398399 tmp_path = None
@@ -405,7 +406,6 @@ if __name__ == "__main__":
405406 # if item is a dmg, mount it and find useful contents
406407 if item_extension == 'dmg' :
407408 dmgvolumepaths = attachdmg (item_path )
408- foundapps = []
409409 for x in dmgvolumepaths :
410410 moreapps = finditemswithextension (x , 'app' )
411411 foundapps .extend (moreapps )
You can’t perform that action at this time.
0 commit comments