Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
f851aa32
...
f851aa32f8e12ef18821afab7e50ef67362b30e6
authored
2014-08-28 12:48:06 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #1020 from runswithd6s/master
rpm/build topdir fix for BSD mktemp
2 parents
91b3c248
b88c3783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
rpm/build
rpm/build
View file @
f851aa3
...
...
@@ -9,7 +9,7 @@ fi
name
=
"casperjs"
name
=
${
name
%.spec
}
topdir
=
$(
mktemp -d
)
topdir
=
$(
mktemp -d
"
${
TMPDIR
:-
/tmp
}
/
${
name
}
-build-XXXXXX"
)
# Get version from package.json
version
=
$(
grep
'"version"'
../package.json | sed
's/.*"\(.*\)": "\(.*\)".*/\2/'
| sed
's/[-]//'
)
builddir
=
${
TMPDIR
:-
/tmp
}
/
${
name
}
-
${
version
}
...
...
Please
register
or
sign in
to post a comment