Index: crup-runner.sh |
diff --git a/crup-runner.sh b/crup-runner.sh |
index 50c1d06b5df7fb5fda1de5fbdf9908700ceb7166..7c7947c13496587352a8e44e658c8f4f31c71936 100755 |
--- a/crup-runner.sh |
+++ b/crup-runner.sh |
@@ -104,7 +104,7 @@ if [ "$solution" = "$1" ]; then |
set_target_os |
- "$GIT_EXE" ls-files -s | grep ^160000 | awk '{print $4}' | |
+ git ls-files -s | grep ^160000 | awk '{print $4}' | |
while read submod; do |
process_submodule "$submod" |
done |
@@ -112,8 +112,8 @@ if [ "$solution" = "$1" ]; then |
else |
submodule="${1#*/}" |
echo "[$solution] updating $submodule" |
- "$GIT_EXE" submodule update --recursive --quiet "$submodule" | |
- ( grep -v '^Skipping submodule' || true ) | sed "s|^|[$1] |g" |
+ git submodule update --recursive --quiet "$submodule" | |
+ ( grep -v '^Skipping submodule' || true ) | sed "s|^|[$1] |g" 2>/dev/null |
status=$? |
if [ "$status" -ne "0" ]; then |
echo "[$solution] FAILED to update $submodule" |