|
|
@ -14,7 +14,7 @@ then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
elif [ "$#" = '0' ]
|
|
|
|
elif [ "$#" = '0' ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
COMMIT='master'
|
|
|
|
COMMIT='main'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if [ -z "${COMMIT}" ]
|
|
|
|
if [ -z "${COMMIT}" ]
|
|
|
|
then
|
|
|
|
then
|
|
|
@ -23,7 +23,7 @@ Usage: $0 [COMMIT]
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
Parameters:
|
|
|
|
COMMIT - full commit hash from upstream git (${REPO});
|
|
|
|
COMMIT - full commit hash from upstream git (${REPO});
|
|
|
|
otherwise the latest commit in master is used
|
|
|
|
otherwise the latest commit in main is used
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|