/useful/trunk-1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/useful/trunk-1

« back to all changes in this revision

Viewing changes to scripts/useful.inc.sh

  • Committer: Gustav Hartvigsson
  • Date: 2024-07-10 21:07:31 UTC
  • Revision ID: git-v1:7631e167e18af814d7b1d6d9d4118e64e4afa741
* useful.inc.sh
  - changed from '-gt' to '>' in __find_tool ()

* process_text_to_image.sh
  - use function library

* pdf2images.sh
  - use function library

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
function __find_tool () {
42
42
  __silent which $1
43
43
 
44
 
  if [ $? -gt 0 ]; then
 
44
  if [[ $? > 0 ]]; then
45
45
    echo "    Can't find tool \"${1}\"."
46
46
    __SANITY=false
47
47
  fi