Skip to content
Permalink
Browse files

wrapper scripts use bash, not sh

This solves a problem on osx 10.6 where sh's built-in echo does not have a -n flag.
  • Loading branch information...
kubat committed Nov 9, 2010
1 parent d538f91 commit 34e57a0103136a7b4fe6d317604eb1923b02b104
Showing with 12 additions and 12 deletions.
  1. +1 −1 bin/blockhost
  2. +1 −1 bin/cjob
  3. +1 −1 bin/ctask
  4. +1 −1 bin/drqman
  5. +1 −1 bin/jobfinfo
  6. +1 −1 bin/jobinfo
  7. +1 −1 bin/master
  8. +1 −1 bin/requeue
  9. +1 −1 bin/sendjob
  10. +2 −2 bin/shlib
  11. +1 −1 bin/slave
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
@@ -105,7 +105,7 @@ wrapper_cmd () {
unset WRAP_CMD
_full_unwrapped_tool_path="$( get_env_drqueue_bin )/$CMD_TO_WRAP"
if [ ! -x "$_full_unwrapped_tool_path" ]; then
echo ERROR: Command "$_full_unwrapped_tool_path" does not exist. Cannot be wrapped.
echo ERROR: Command "\"$_full_unwrapped_tool_path\"" does not exist. Cannot be wrapped.
return 1
fi

@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash
#
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#

0 comments on commit 34e57a0

Please sign in to comment.
You can’t perform that action at this time.