Explorar el Código

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

Jean-Christophe Fillion-Robin hace 7 años
padre
commit
9e7e7d4238
Se han modificado 1 ficheros con 5 adiciones y 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