f29067631e
Something about them threw off the exit-immediately-on-non-zero-exit behavior when building. Related-Bug: #2070029 Change-Id: I3e40ebd78a9f8e93c905b24a12f5f54b2d27c2d9
19 lines
432 B
Bash
Executable File
19 lines
432 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
pip install -U pip
|
|
cd /opt/swift
|
|
pip install -r requirements.txt
|
|
pip install -e .
|
|
|
|
cp doc/saio/bin/* $HOME/bin
|
|
chmod +x $HOME/bin/*
|
|
sed -i "s/bash/sh/g" $HOME/bin/*
|
|
sed -i "s/sudo //g" $HOME/bin/*
|
|
mkdir /root/tmp
|
|
echo "export PATH=${PATH}:$HOME/bin" >> $HOME/.shrc
|
|
echo "export PYTHON_EGG_CACHE=/root/tmp" >> $HOME/.shrc
|
|
echo "export ENV=$HOME/.shrc" >> $HOME/.profile
|
|
chmod +x $HOME/.shrc
|
|
chmod +x $HOME/.profile
|