Skip to content

Commit

Permalink
Fix the installer and fixing the package shiped into binary version o…
Browse files Browse the repository at this point in the history
…f Bazel.

--
MOS_MIGRATED_REVID=102567966
  • Loading branch information
damienmg committed Sep 8, 2015
1 parent 17ef915 commit 2c2e70d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/packages/template_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ echo -n "Uncompressing."
if [ -f "${bin}/bazel" ]; then
rm -f "${bin}/bazel"
fi
if [ -d "${base}" && -x "${base}/bin/bazel" ]; then
if [ -d "${base}" -a -x "${base}/bin/bazel" ]; then
rm -fr "${base}"
fi

Expand Down
3 changes: 1 addition & 2 deletions tools/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ filegroup(
filegroup(
name = "package-srcs",
srcs = glob(["**"]) + [
"//tools/android:srcs",
"//tools/android/jack:srcs",
"//tools/build_defs/d:srcs",
"//tools/build_defs/docker:srcs",
"//tools/build_rules/appengine:srcs",
"//tools/build_rules/closure:srcs",
Expand Down
5 changes: 5 additions & 0 deletions tools/build_defs/d/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package(default_visibility = ["//visibility:public"])

filegroup(
name = "srcs",
srcs = glob(["**"]),
)

config_setting(
name = "darwin",
values = {"host_cpu": "darwin"},
Expand Down

0 comments on commit 2c2e70d

Please sign in to comment.