Explorar o código

ENH: Fix "build.sh" to allow exection from any directory

Jean-Christophe Fillion-Robin %!s(int64=7) %!d(string=hai) anos
pai
achega
9e7e7d4238
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      CMake/CircleCI/build.sh

+ 5 - 1
CMake/CircleCI/build.sh

@@ -1,6 +1,10 @@
-#!/bin/sh
+#!/bin/bash
 
 script_dir="`cd $(dirname $0); pwd`"
 
+pushd $script_dir
+
 docker build -t commontk/ctk-test:opengl-qt4 $script_dir -f Dockerfile-qt4
 docker build -t commontk/ctk-test:opengl-qt5 $script_dir -f Dockerfile-qt5
+
+popd