CMake/Tests/CTestUpdateGIT.sh.in

7 lines
135 B
Bash
Executable File

#!/bin/sh
if test "x$1" = "xpull" -o "x$1" = "xreset"; then
"@GIT@" "$@" && sleep 1 && touch foo.txt
else
exec "@GIT@" "$@"
fi