Skip to content

Commit

Permalink
build_node.sh depends on bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Peaker committed Nov 11, 2016
1 parent 9b33e99 commit cb98314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildNode verbosity =
do
e <- doesFileExist nodeRelPath
unless e $
rawSystemExit verbosity "sh" ["build_node.sh"]
rawSystemExit verbosity "bash" ["build_node.sh"]

postInstNode :: Verbosity -> PackageDescription -> LocalBuildInfo -> IO ()
postInstNode verbosity pkgDesc localBuildInfo =
Expand Down
2 changes: 1 addition & 1 deletion build_node.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# adapted from https://apple.stackexchange.com/a/123408/11374
function version { echo "${@//v}" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }'; }
Expand Down

0 comments on commit cb98314

Please sign in to comment.