You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Wanqiang Ji (Jira)" <ji...@apache.org> on 2020/09/07 16:31:00 UTC

[jira] [Updated] (SUBMARINE-620) Fix hard coding of shebang in some scripts

     [ https://issues.apache.org/jira/browse/SUBMARINE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wanqiang Ji updated SUBMARINE-620:
----------------------------------
    Description: 
{code:java}
grep "#\!/bin/bash" -r . | grep -v node_modules | grep -v target | awk -F: '{print $1}' | xargs sed -i '' -e 's$#!/bin/bash$#!/usr/bin/env bash$g'
{code}

> Fix hard coding of shebang in some scripts
> ------------------------------------------
>
>                 Key: SUBMARINE-620
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-620
>             Project: Apache Submarine
>          Issue Type: Bug
>            Reporter: Wanqiang Ji
>            Assignee: Wanqiang Ji
>            Priority: Major
>
> {code:java}
> grep "#\!/bin/bash" -r . | grep -v node_modules | grep -v target | awk -F: '{print $1}' | xargs sed -i '' -e 's$#!/bin/bash$#!/usr/bin/env bash$g'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org