~ubuntu-branches/ubuntu/maverick/kde-l10n-ga/maverick

« back to all changes in this revision

Viewing changes to debian/build-l10n.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-06-11 15:01:11 UTC
  • mfrom: (1.3.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100611150111-v039j0k1jd8b9sxs
Tags: 4:4.4.85-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
clean_dld=1
56
56
subset=""
57
57
 
 
58
if [ ! -x /usr/bin/bzr-buildpackage ]; then
 
59
  echo "bzr-buildpackage needs to be installed to build kde-l10n packages"
 
60
  exit 1
 
61
fi
 
62
 
58
63
for arg in "$@"
59
64
do
60
65
    case "$arg" in
78
83
 
79
84
if [ -e build ]; then
80
85
  echo "A already existing build/ directory was found, which indicates that there was a build done earlier."
 
86
  echo "Note: you can also run this script with -ncd to preserve only the tar.bz2 files from build/."
81
87
  echo "Do you REALLY REALLY want to mess with the current build dir? (y/n)"
82
 
  echo "Note: you can also run this script with -ncd to preserve only the tar.bz2 files from build/."
83
88
  read -e reply
84
89
  if [[ $reply != "y" ]]; then
85
90
    echo "bye!"
104
109
BOILERPLATE="# ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !#\n# DO NOT EVEN THINK ABOUT CHANGING THIS FILE DIRECTLY! ! ! !\n# PLEASE USE THE BZR BRANCH AS SEEN IN debian\/control\n# MAKE YOUR CHANGES THERE AND THEN RUN debian\/build-l10n.sh\n# kthxbai :)\n################################################################################\n################################################################################\n################################################################################\n################################################################################"
105
110
 
106
111
if [[ `bzr revno` != `bzr revno ${BRANCH}` ]]; then
107
 
  echo "YOU MUST PUSH TO THE PARENT BRANCH BEFORE BUILDING THE PACKAGES!!!"
 
112
  echo "For one reason or another the parent branch does not match the local one, please ensure they match, or all is going down the drain."
 
113
  echo "Most importantly: YOU MUST PUSH TO THE PARENT BRANCH BEFORE BUILDING THE PACKAGES!!!"
108
114
  echo "Leaving you alone in the cold."
109
115
  exit 1
110
116
fi