CMake/Tests/CTestUpdateGIT.sh.in

7 lines
115 B
Bash
Executable File

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