Changeset 4669


Ignore:
Timestamp:
May 10, 2017, 5:38:06 PM (2 years ago)
Author:
Juanma
Message:

When installDir doesn't exist uses /home/juanma/svn/xenial/devtools/desktop_to_xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devtools/desktop_to_xml/desktop_to_xml.sh

    r4668 r4669  
    170170{
    171171        cd $rootDir"/"$srcDir
    172         wrkDir=`realpath $1`
    173         printf "Entering $wrkDir\n"
     172        wrkDir=`realpath $1 2>/dev/null`
     173        if [ $? -ne 0 ]
     174        then
     175                #Dir doesn't seems to exists. Find tie desktop on $svnDir and ask about the action
     176                wrkDir='.'
     177                installDir='.'
     178        fi
     179        printf "Entering %s\n" $wrkDir
    174180        if [ -d $wrkDir ]
    175181        then
Note: See TracChangeset for help on using the changeset viewer.