浏览代码

HPCC-23532 Dockerfiles should have some copyright headers

Remove hard-coded user in incr.sh

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 年之前
父节点
当前提交
e4f9ebce5e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dockerfiles/incr.sh

+ 1 - 1
dockerfiles/incr.sh

@@ -30,7 +30,7 @@ PREV=$1
 
 BUILD_TYPE=Debug
 BUILD_LABEL=${HEAD}-Debug
-GITHUB_USER=richardkchapman
+GITHUB_USER=$(git remote get-url origin | sed s/.*:// | sed s+/.*++)
 
 if [[ "$HEAD" == "$PREV$FORCE" ]]  # set environment variable FORCE before running to override this check
 then