Skip to content

Commit 004ed37

Browse files
committed
Merge pull request #22 from mboersma/fix-makeself-perms
fix(installer): use deisctl-hack fork of makeself
2 parents 789750d + ba85174 commit 004ed37

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package/
22
deisctl/deisctl
3+
makeself/
34

45
# ctags index
56
tags

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ build:
66
installer:
77
rm -rf dist && mkdir -p dist
88
godep go build -a -o dist/deisctl .
9-
makeself.sh --bzip2 --nox11 --target /usr/local/bin dist \
9+
@if [ ! -d makeself ]; then git clone -b deisctl-hack https://github.com/deis/makeself.git; fi
10+
PATH=./makeself:$$PATH makeself.sh --bzip2 --nox11 --target /usr/local/bin dist \
1011
dist/deisctl-`cat deis-version`-`go env GOOS`-`go env GOARCH`.run \
1112
"Deis Control Utility" "/usr/local/bin/deisctl refresh-units"
1213

0 commit comments

Comments
 (0)