Bash Scripts - DOS Style Line Endings

オープン
#1,691 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
bash
領域
build-system

調査の方向性

Check the scripts/ directory, starting with scripts/transpile.sh, after cloning the repository and running make local-install. Verify that the scripts use Unix line endings and that make local-install executes successfully in Linux shells.

索引モデルが issue の本文から書いたものです。

説明

(1) Issue/Bug Description:
Bash scripts in repository have DOS style line endings which causes bash interpreters to fail to run scripts.

(2) Steps to reproduce (if you know):

  1. Clone repository
  2. run make local-install
  3. : /bin/sh: 1: ./scripts/transpile.sh: not found indicating that sh couldn't be found, but really it's attempting to run /bin/sh^M (where ^M indicates the ASCII carriage return character)

(3) Expected behavior:
Scripts located in the ./scripts/ directory should execute in all linux shells (including bash)

(4) Distribution (run cat /etc/os-release):

cat /etc/os-release
show_command_in_title_bar
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"
show_command_in_title_bar

(5) Gnome Shell version:
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

commit 8e176f14029a2c3bb54c52e1e7a5c697b9eb2171

(7) Where was Pop Shell installed from:
github

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
2x 4k, horizontal 60 fps

(9) Other Installed/Enabled Extensions:
None

(10) Other Notes:
Love the project <3

主要言語
TypeScript
スター
5.3k
フォーク
318
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pop-os/shell のほかの issue

pop-os/shell の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。