Changeset 4589 for devtools/desktop_to_xml/desktop_to_xml.sh
- Timestamp:
- May 4, 2017, 4:56:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devtools/desktop_to_xml/desktop_to_xml.sh
r4583 r4589 167 167 { 168 168 cd $rootDir"/"$srcDir 169 wrkDir= $1169 wrkDir=`realpath $1` 170 170 printf "Entering $wrkDir\n" 171 if [ -d wrkDir ]171 if [ -d $wrkDir ] 172 172 then 173 173 cd $wrkDir … … 176 176 cd $wrkDir 177 177 fi 178 179 178 #Find the desktop file of the application 180 179 desktopFiles=$(find . -name "*.desktop") … … 187 186 #If workdir != $1 then it means that the install file has a file and not a dir 188 187 #In this case we assume that the install is putting the desktop file so metainfoDir becames llx-resources directly 189 if [[ $wrkDir != $1]]188 if [[ $wrkDir != `realpath $1` ]] 190 189 then 191 190 metainfoDir=${rootDir}"/"${srcDir}"/llx-resources/"${appName}
Note: See TracChangeset
for help on using the changeset viewer.