~ubuntu-branches/ubuntu/wily/devscripts/wily

« back to all changes in this revision

Viewing changes to scripts/cvs-debrelease.sh

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2014-10-13 22:35:31 UTC
  • mfrom: (10.10.16 sid)
  • Revision ID: package-import@ubuntu.com-20141013223531-30s05ojsmnhbd2ir
Tags: 2.14.10
Fix all the other calls to dpkg-architecture in devscripts.
(Closes: #764963 ... again)

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
    exit 1
354
354
fi
355
355
 
356
 
setq arch "`dpkg-architecture -a${targetarch} -t${targetgnusystem} -qDEB_HOST_ARCH`" "build architecture"
 
356
if [ -n "$targetarch" ] && [ -n "$targetgnusystem" ]; then
 
357
    setq arch "$(dpkg-architecture "-a${targetarch}" "-t${targetgnusystem}" -qDEB_HOST_ARCH)" "build architecture"
 
358
else
 
359
    setq arch "$(dpkg-architecture -qDEB_HOST_ARCH)" "build architecture"
 
360
fi
357
361
 
358
362
pva="${package}_${non_epoch_version}_${arch}"
359
363
changes="$pva.changes"