diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2015-02-03 09:47:18 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2015-02-03 09:47:40 +0200 |
commit | 81825341ab410201c5150615d30bf3c2872cbfdc (patch) | |
tree | 22e84132fe66cb814c3bee37f7472a791a208af5 | |
parent | 4067edac5529deac121fc38881c16ee3873d57fc (diff) |
more force
-rwxr-xr-x | dockerbuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dockerbuild b/dockerbuild index e74298e..4964c7d 100755 --- a/dockerbuild +++ b/dockerbuild @@ -42,6 +42,8 @@ else ./ubuntu-packaging-tools/docker-crossbuild $localdsc $arch fi +set -x + change=`echo *changes` if [ ! -r $change ] then @@ -49,9 +51,10 @@ then exit 1 fi -ls -lad . /tmp +ls -la . /tmp -cat > /tmp/post_build_ppa_parameters << EOF +sudo rm -f /tmp/post_build_ppa_parameters post_build_ppa_parameters +sudo tee /tmp/post_build_ppa_parameters >/dev/null << EOF pkg_job_name=${JOB_NAME} key_id=B86C70FE pkg_changes=${change} @@ -59,3 +62,4 @@ host_ppa=linaro-overlay EOF sudo cp /tmp/post_build_ppa_parameters . +sudo chmod a+rw /tmp/post_build_ppa_parameters |