aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/windows
diff options
context:
space:
mode:
authorEvgeny Grin <k2k@narod.ru>2021-02-02 17:43:51 +0300
committerEvgeny Grin <k2k@narod.ru>2021-02-02 17:43:51 +0300
commit60ce925dc9e993d84087d4919fa1fa8a214a3f5e (patch)
tree14798106977bcfb0ad93f2eb64d12e1364557ac2 /tools/buildsteps/windows
parent904bc9fa695fdd7083d2a6036583c35f674c0ca9 (diff)
[Windows][builddeps] Minor fix for buildhelpers.sh
Do not strip the first element of the checked paths from the output
Diffstat (limited to 'tools/buildsteps/windows')
-rw-r--r--tools/buildsteps/windows/buildhelpers.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/buildsteps/windows/buildhelpers.sh b/tools/buildsteps/windows/buildhelpers.sh
index ae0d33f582..2a059de62b 100644
--- a/tools/buildsteps/windows/buildhelpers.sh
+++ b/tools/buildsteps/windows/buildhelpers.sh
@@ -167,14 +167,11 @@ do_clean_get() {
PATH_CHANGE_REV_FILENAME=".last_success_revision"
#hash a dir based on the git revision and $TRIPLET
-#param1 path to be hashed
+#params paths to be hashed
function getBuildHash ()
{
- local checkPath
- checkPath="$1"
- shift 1
local hashStr
- hashStr="$(git rev-list HEAD --max-count=1 -- $checkPath $@)"
+ hashStr="$(git rev-list HEAD --max-count=1 -- $@)"
hashStr="$hashStr $@ $TRIPLET"
echo $hashStr
}