Browse Source

Merge branch 'refactor' of github.com:rtCamp/easyengine into refactor

old-stable
gau1991 11 years ago
parent
commit
bec63c06b6
  1. 2
      src/lib/ee_lib_git_commit.sh
  2. 4
      src/lib/ee_lib_git_init.sh

2
src/lib/ee_lib_git_commit.sh

@ -6,7 +6,7 @@ function ee_lib_git_commit()
|| ee_lib_error "Unable to change directory $EE_GIT_DIR, exit status = " $?
if [ $(git status -s | wc -l) -ne 0 ]; then
ee_lib_echo "Commiting changes inside $EE_GIT_DIR, please wait..."
ee_lib_echo "Committing changes inside $EE_GIT_DIR, please wait..."
# Add newly created files && commit it
git add --all && git commit -am "$EE_GIT_MESSAGE" &>> $EE_COMMAND_LOG \

4
src/lib/ee_lib_git_init.sh

@ -1,4 +1,4 @@
# Initialise Git
# Initialize Git
function ee_lib_git_init()
{
@ -7,7 +7,7 @@ function ee_lib_git_init()
# Check .git
if [ ! -d .git ]; then
ee_lib_echo "Initialise Git On $EE_GIT_DIR..."
ee_lib_echo "Initialize Git On $EE_GIT_DIR..."
git init &>> $EE_COMMAND_LOG \
|| ee_lib_error "Unable to initialize Git on $EE_GIT_DIR, exit status = " $?
fi

Loading…
Cancel
Save