diff options
Diffstat (limited to 'build/tacker.sh')
-rw-r--r-- | build/tacker.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/tacker.sh b/build/tacker.sh index a416fc4..d29a1c8 100644 --- a/build/tacker.sh +++ b/build/tacker.sh @@ -46,13 +46,13 @@ else sudo yum update -y fi -if [[ ! -d /tmp/models ]]; then - echo; echo "$0 $(date): Cloning models repo to /tmp/models" - git clone https://gerrit.opnfv.org/gerrit/models /tmp/models +if [[ ! -d ~/tmp/models ]]; then + echo; echo "$0 $(date): Cloning models repo to ~/tmp/models" + git clone https://gerrit.opnfv.org/gerrit/models ~/tmp/models fi echo; echo "$0 $(date): Starting Tacker build process" -cd /tmp/models/build/tacker +cd ~/tmp/models/build/tacker sed -i -- "s/<branch>/$branch/g" Dockerfile sudo docker build -t tacker . |