Browse Source

Fix bashism

Samuel Thibault 12 years ago
parent
commit
05fdb9d743
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tools/starpu_workers_activity.in

+ 3 - 3
tools/starpu_workers_activity.in

@@ -2,7 +2,7 @@
 
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 # 
-# Copyright (C) 2010  Université de Bordeaux 1
+# Copyright (C) 2010, 2012  Université de Bordeaux 1
 # Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
 # 
 # StarPU is free software; you can redistribute it and/or modify
@@ -37,12 +37,12 @@ usage()
     exit 0
 }
 
-if [ "$1" == "-v" ] || [ "$1" == "--version" ] ; then
+if [ "$1" = "-v" ] || [ "$1" = "--version" ] ; then
     echo "$PROGNAME (@PACKAGE_NAME@) @PACKAGE_VERSION@"
     exit 0
 fi
 
-if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$1" == "" ] ; then
+if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "" ] ; then
     usage
 fi