~sergiusens/touch-preview-images/save_click

« back to all changes in this revision

Viewing changes to ubuntu-touch-build

  • Committer: Sergio Schvezov
  • Date: 2013-04-23 14:16:04 UTC
  • Revision ID: sergio.schvezov@canonical.com-20130423141604-ui338g7o121aerzf
Adding set -e +e guards and some more logging

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
create_changelog() {
103
103
    # Also copy the userdata manifest and setup the latest manifest
104
104
    # link locally, to allow us to compare and generate the changelog
 
105
    echo "Creating changelog file"
105
106
    manifest=$tar_dir/$product-tar-$timestamp-$iteration.manifest
106
107
    old_manifest_link=$tar_dir/$product-tar.last
107
108
    old_manifest=`readlink $old_manifest_link 2>/dev/null`
174
175
echo Creating archive directory
175
176
mkdir archive
176
177
 
 
178
set -e
177
179
echo Running repo sync
178
180
export android_changelog=$(mktemp)
179
181
repo sync 2>&1 | tee -a $android_changelog
180
182
# Clean empty lines as repo output is not so friendly
181
183
sed -i '${/^$/d}' $android_changelog
 
184
set +e
182
185
 
183
186
. build/envsetup.sh
184
187