Skip to content

Commit

Permalink
fix git issue - unsafe directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mirostauder committed May 10, 2022
1 parent 2c93e6c commit 1d0a20d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rm -f /opt/proxysql/proxysql.ctl /opt/proxysql/proxysql || true

# Clean and build dependancies and source
echo "==> Building"
git config --global --add safe.directory '/opt/proxysql'
cd /opt/proxysql
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
if [[ -z ${PROXYSQL_BUILD_TYPE:-} ]] ; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rm -fr /root/.pki /root/rpmbuild/{BUILDROOT,RPMS,SRPMS,BUILD,SOURCES,tmp} /opt/p

# Clean and build dependancies and source
echo "==> Building"
git config --global --add safe.directory '/opt/proxysql'
cd /opt/proxysql
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
if [[ -z ${PROXYSQL_BUILD_TYPE:-} ]] ; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rm -fr /root/.pki /root/rpmbuild/{BUILDROOT,RPMS,SRPMS,BUILD,SOURCES,tmp} /opt/p

# Clean and build dependancies and source
echo "==> Building"
git config --global --add safe.directory '/opt/proxysql'
cd /opt/proxysql
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
if [[ -z ${PROXYSQL_BUILD_TYPE:-} ]] ; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rm -fr /root/.pki /root/rpmbuild/{BUILDROOT,RPMS,SRPMS,BUILD,SOURCES,tmp} /opt/p

# Clean and build dependancies and source
echo "==> Building"
git config --global --add safe.directory '/opt/proxysql'
cd /opt/proxysql
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
if [[ -z ${PROXYSQL_BUILD_TYPE:-} ]] ; then
Expand Down

0 comments on commit 1d0a20d

Please sign in to comment.