소스 검색

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

Jean-Christophe Fillion-Robin 7 년 전
부모
커밋
9e7e7d4238
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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