]> OCCT Git - occt.git/commitdiff
Update
authorinv <igor.nazarov@opencascade.com>
Fri, 4 Nov 2022 10:20:37 +0000 (13:20 +0300)
committerinv <igor.nazarov@opencascade.com>
Fri, 4 Nov 2022 10:20:37 +0000 (13:20 +0300)
get.sh

diff --git a/get.sh b/get.sh
index 43beea6e0ed2430d89b823f4f5703e2e38c87a99..3e69ce379156d4bc728e65c4e2b25bce7976a5e6 100644 (file)
--- a/get.sh
+++ b/get.sh
@@ -1,12 +1,12 @@
 #!/bin/bash
 
-problem_file=Adaptor2d_Curve2d.cxx
+problem_file=upgrade.bat
 
 list="master integration"
 echo "Getting commit hash"
 for name in $list ; do
     echo $name
-    export shorthash_$name=$(git rev-parse $name)
+    export shorthash_$name=$(git rev-parse --short $name)
     echo shorthash_$name=$(eval echo "\$shorthash_${name}")
 done