Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3366689
D4685.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
446 B
Referenced Files
None
Subscribers
None
D4685.diff
View Options
diff --git a/services/lib/docker/build_service.sh b/services/lib/docker/build_service.sh
--- a/services/lib/docker/build_service.sh
+++ b/services/lib/docker/build_service.sh
@@ -19,5 +19,7 @@
rm -rf cmake/build
mkdir -p cmake/build
-scripts/proto_codegen.sh
-scripts/build_sources.sh
+# Allow scripts to be called from anywhere
+SCRIPT_DIR=$(cd "$(dirname "$0")"; pwd -P)
+"${SCRIPT_DIR}"/proto_codegen.sh
+"${SCRIPT_DIR}"/build_sources.sh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 12:05 PM (19 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584634
Default Alt Text
D4685.diff (446 B)
Attached To
Mode
D4685: [Services] Make build_service.sh PWD independent
Attached
Detach File
Event Timeline
Log In to Comment