Changeset 34391


Ignore:
Timestamp:
05/30/15 15:46:58 (9 years ago)
Author:
gost
Message:

[plugins] fix multiimage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/multiimage/MultiImage.c

    r34385 r34391  
    359359        char* path3 = NULL;
    360360        char* cmd = NULL;
     361        char* cmd = tmp;
    361362        char* iname = NULL;
    362363
     
    408409        if(rc == 1)
    409410        {
     411                tmp = createpluginpath("/multiimage/ubireader/ubi_reader-master/scripts/ubireader_extract_files", 0);
    410412                cmd = createpluginpath("/multiimage/multi_unpack.sh", 0);
    411413                cmd = ostrcat(cmd, " ", 1, 0);
     
    415417                cmd = ostrcat(cmd, " ", 1, 0);
    416418                cmd = ostrcat(cmd, path, 1, 0);
     419                cmd = ostrcat(cmd, " ", 1, 0);
     420                cmd = ostrcat(cmd, tmp, 1, 0);
    417421                cmd = ostrcat(cmd, " &", 1, 0);
    418422                system(cmd);
    419423                free(cmd); cmd=NULL;
     424                free(tmp); cmd=NULL;
    420425                textbox(_("Message"), _("INFO\nExtracting process is running in background.\nA message will be shown when finished."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 250, 10, 0);
    421426               
Note: See TracChangeset for help on using the changeset viewer.