Browse Source

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 years ago
parent
commit
e4f9ebce5e
1 changed files with 1 additions and 1 deletions
  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