Skip to content
Snippets Groups Projects
Commit dafb0609 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

* #6657: Fix launchpad builds

parent dc84e63f
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,26 @@ VERSION="${SOFTWARE_VERSION}~ppa${VERSION_INDEX}~SYSTEM"
echo "Clean build directory"
git clean -f -x ${LAUNCHPAD_DIR}/* >/dev/null
get_dir_name() {
case $1 in
sflphone-common)
echo daemon
;;
sflphone-plugins)
echo plugins
;;
sflphone-client-gnome)
echo gnome
;;
sflphone-client-kde)
echo kde
;;
*)
exit 1
;;
esac
}
for LAUNCHPAD_PACKAGE in ${LAUNCHPAD_PACKAGES[*]}
do
echo " Package: ${LAUNCHPAD_PACKAGE}"
......@@ -174,7 +194,8 @@ do
git checkout ${DEBIAN_DIR}
echo " --> Retrieve new sources"
cp -r ${REFERENCE_REPOSITORY}/${LAUNCHPAD_PACKAGE} ${LAUNCHPAD_DIR}/
DIRNAME=`get_dir_name ${LAUNCHPAD_PACKAGE}`
cp -r ${REFERENCE_REPOSITORY}/${DIRNAME} ${LAUNCHPAD_DIR}/${LAUNCHPAD_PACKAGE}
echo " --> Update software version number (${SOFTWARE_VERSION})"
echo "${SOFTWARE_VERSION}" > ${LAUNCHPAD_DIR}/${LAUNCHPAD_PACKAGE}/VERSION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment