Changeset 4693


Ignore:
Timestamp:
May 11, 2017, 10:11:31 AM (3 years ago)
Author:
Juanma
Message:

When desktop not found in installDir searches whole svn directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devtools/desktop_to_xml/desktop_to_xml.sh

    r4678 r4693  
    2727msg_rules_old_format="\n********** WARNING!!!! **********\nrules file has an old format.\nIt's HIGHLY recommended to update it to the new rules format.\n *************************** \n"
    2828msg_select_pkg="\nSelect the name of the package to process\n"
    29 msg_desktop_not_found="\nDesktop file not found at %s. Process aborted.\n"
     29msg_desktop_not_found="\nDesktop file not found at %s. Looking at llx-resources\n"
     30msg_desktop_not_present="\nDesktop file was not found at %s. Operation aborted\n"
    3031msg_searching_img="\nSearching screenshots in %s...\n"
    3132msg_image_found="\nScreenshoot %s finded for app %s\n"
     
    190191        then
    191192                printf "$msg_desktop_not_found" $wrkDir
    192                 exit 1
     193                cd $rootDir"/"$srcDir
     194                wrkDir='.'
     195                installDir='.'
     196                desktopFiles=$(find . -name "*.desktop")
     197                if [[ ! $desktopFiles ]]
     198                then
     199                        printf "$msg_desktop_not_present" $srcDir
     200                        exit 1
     201                fi
    193202        fi
    194203        for desktopFile in $desktopFiles
     
    358367                                print "</screenshots>" >> xmlFile
    359368                        }
    360                         print "<developer_name>Lliurex Team</developer_name>" >> xmlFile
     369                        print "<developer_name> </developer_name>" >> xmlFile
    361370                        print "</component>" >> xmlFile
    362371                }
Note: See TracChangeset for help on using the changeset viewer.