Skip to content

Commit

Permalink
Improve scripts' shebang portability (#3732)
Browse files Browse the repository at this point in the history
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
  • Loading branch information
JLBuenoLopez committed Sep 19, 2023
1 parent 14689a0 commit 61a3239
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/profiling/allocations/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

## Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
##
Expand Down
2 changes: 1 addition & 1 deletion test/profiling/allocations/test_with_memory_tool.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

## Copyright 2018-2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
##
Expand Down
2 changes: 1 addition & 1 deletion tools/fastdds/fastdds
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

dir="`dirname \"$0\"`"
python3 "$dir/../tools/fastdds/fastdds.py" ${@}
2 changes: 1 addition & 1 deletion tools/fastdds/ros-discovery
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

dir="`dirname \"$0\"`"
python3 "$dir/../tools/fastdds/fastdds.py" discovery ${@}
2 changes: 1 addition & 1 deletion utils/scripts/update_generated_code_from_idl.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

files_to_exclude=(
'./include/fastrtps/types/*'
Expand Down

0 comments on commit 61a3239

Please sign in to comment.