Skip to content

Commit

Permalink
fix remaning postCreates scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed May 5, 2024
1 parent bac060e commit 3b84eb7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker
# init demo dir as Git repo if requested for this demo env
if ${GIT_INIT}; then
cd ${CONTAINERWSF}
git config --global --add safe.directory .
git init
git config --global --add safe.directory ${PWD}
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi
git add .
git commit -m "git init"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker
# init demo dir as Git repo if requested for this demo env
if ${GIT_INIT}; then
cd ${CONTAINERWSF}
git config --global --add safe.directory .
git init
git config --global --add safe.directory ${PWD}
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi
git add .
git commit -m "git init"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker
# init demo dir as Git repo if requested for this demo env
if ${GIT_INIT}; then
cd ${CONTAINERWSF}
git config --global --add safe.directory .
git init
git config --global --add safe.directory ${PWD}
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi
git add .
git commit -m "git init"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker
# init demo dir as Git repo if requested for this demo env
if ${GIT_INIT}; then
cd ${CONTAINERWSF}
git config --global --add safe.directory .
git init
git config --global --add safe.directory ${PWD}
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi
git add .
git commit -m "git init"
fi

0 comments on commit 3b84eb7

Please sign in to comment.