Change shebang and remove comment about bashisms
This commit is contained in:
parent
6a27955d2f
commit
e391b5d5f3
1 changed files with 1 additions and 3 deletions
4
scripts/obtain/dotnet-install.sh
vendored
4
scripts/obtain/dotnet-install.sh
vendored
|
@ -1,10 +1,8 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
#
|
||||
|
||||
# Note: This script should be compatible with the dash shell used in Ubuntu. So avoid bashisms! See https://wiki.ubuntu.com/DashAsBinSh for more info
|
||||
|
||||
# Stop script on NZEC
|
||||
set -e
|
||||
# Stop script if unbound variable found (use ${var:-} if intentional)
|
||||
|
|
Loading…
Add table
Reference in a new issue