chiark / gitweb /
Fixed package.sh script interpreter invocation.
authorTomasz CEDRO <cederom@tlen.pl>
Tue, 3 Jun 2014 15:33:10 +0000 (17:33 +0200)
committerTomasz CEDRO <cederom@tlen.pl>
Tue, 3 Jun 2014 15:33:10 +0000 (17:33 +0200)
Using "/usr/bin/env bash" makes it possible to call bash properly
on various operating systems where the binary location can differ.
Tested on FreeBSD, Darwin, Linux.

package.sh

index 1d9e001b356244b0d8cf67e00febb4467b563584..302fd905e48da10be290e8210df2e8e7f7191e65 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This script is to package the Cura package for Windows/Linux and Mac OS X
 # This script should run under Linux and Mac OS X, as well as Windows with Cygwin.