Przeglądaj źródła

Fix bash path in a shebang (#153)

"/bin/bash" is a Linuxism.  "/usr/bin/env bash" is portable.
Alan Somers 8 lat temu
rodzic
commit
c47cf1cf5a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      doc/pdf/build

+ 1 - 1
doc/pdf/build

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 boost_version=$(grep 'define.*BOOST_LIB_VERSION' ../../boost/version.hpp | sed 's/.*"\([^"]*\)".*/\1/')
 boost_version=$(grep 'define.*BOOST_LIB_VERSION' ../../boost/version.hpp | sed 's/.*"\([^"]*\)".*/\1/')
 echo Boost version tag = $boost_version
 echo Boost version tag = $boost_version
 (cd ../../libs/accumulators/doc && bjam -a --hash) 2>&1 | tee build.log
 (cd ../../libs/accumulators/doc && bjam -a --hash) 2>&1 | tee build.log

粤ICP备19079148号