mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
pgit.sh: Deprecate CentOS 7
CentOS 7's Git doesn\'t understand -C, consider that obsolete and don't cd into a directory any longer. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f4106e9da2
commit
c37f2aaca3
1 changed files with 0 additions and 9 deletions
|
|
@ -46,15 +46,6 @@ config()
|
|||
run_git()
|
||||
{
|
||||
marker git "$@"
|
||||
# sadly, CentOS 7 has git 1.8.3.1, which doesn't support -C
|
||||
if [ "$1" = -C ]; then
|
||||
(
|
||||
cd $2
|
||||
shift 2
|
||||
git "$@"
|
||||
)
|
||||
return $?
|
||||
fi
|
||||
git "$@"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue