Subversion Repositories DevTools

Rev

Rev 4853 | Rev 5400 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4853 Rev 4857
Line 691... Line 691...
691
        rm -fr ${DEB_DIR}
691
        rm -fr ${DEB_DIR}
692
        mkdir -p ${DEB_DIR}
692
        mkdir -p ${DEB_DIR}
693
 
693
 
694
        # Replace TAGS in the debbuild.pl file
694
        # Replace TAGS in the debbuild.pl file
695
        DEB_DESC="${BUILD_NAME} ${BUILD_VERSION} for ${PLATFORM}"
695
        DEB_DESC="${BUILD_NAME} ${BUILD_VERSION} for ${PLATFORM}"
696
        cat ${DEBBUILD_PL} | sed "-es|TAG_DESCRIPTION|${DEB_DESC}|" "-es|TAG_POSTINSTALL|${DEB_DIR}/postinstall|" > ${DEB_DIR}/debbuild.pl
696
        cat ${DEBBUILD_PL} | sed "-es|TAG_DESCRIPTION|${DEB_DESC}|" "-es|TAG_POSTINSTALL|${DEB_DIR}/postinstall|" "-es|TAG_DEBPKGDIR|${DEB_PKG_DIR}|" > ${DEB_DIR}/debbuild.pl
697
        cp ${TOOL_DIR}/postinstall ${DEB_DIR}/postinstall
697
        cp ${TOOL_DIR}/postinstall ${DEB_DIR}/postinstall
698
    else
698
    else
699
        echo "ERROR: Cannot find debbuild.pl in the PATH"
699
        echo "ERROR: Cannot find debbuild.pl in the PATH"
700
        exit 1
700
        exit 1
701
    fi
701
    fi