From 26e9671003b84007ee722492b20567645d4b1646 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Thu, 5 Jan 2012 15:37:36 +0200 Subject: [PATCH] sandbox/update-version: bash isn't always in /bin. On some systems, bash is in some different folder than /bin. It works with more systems to use /usr/bin/env bash. --- sandbox/update-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/update-version b/sandbox/update-version index 1eda83afe..007edf77e 100755 --- a/sandbox/update-version +++ b/sandbox/update-version @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Updating version..." perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py git add src/version.py