Skip to content

Commit

Permalink
fix the build working directory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Oct 7, 2017
1 parent 546b659 commit 8d0cc11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ set pro_meta="http://yetAnotherIp:8080"
set META_SERVERS_OPTS=-Ddev_meta=%dev_meta% -Dfat_meta=%fat_meta% -Duat_meta=%uat_meta% -Dpro_meta=%pro_meta%

rem =============== Please do not modify the following content ===============
rem go to script directory
cd "%~dp0"

cd ..

rem package config-service and admin-service
Expand Down
3 changes: 3 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ pro_meta=http://yetAnotherIp:8080
META_SERVERS_OPTS="-Ddev_meta=$dev_meta -Dfat_meta=$fat_meta -Duat_meta=$uat_meta -Dpro_meta=$pro_meta"

# =============== Please do not modify the following content =============== #
# go to script directory
cd "${0%/*}"

cd ..

# package config-service and admin-service
Expand Down

0 comments on commit 8d0cc11

Please sign in to comment.