Skip to content

Commit

Permalink
test (ble/util/readlink): fix the expected path in macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 29, 2022
1 parent 066ec63 commit a22e145
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README-ja_JP.md
Expand Up @@ -87,11 +87,12 @@ echo 'source ~/.local/share/blesh/ble.sh' >> ~/.bashrc
```
</details>

<details open><summary><b>パッケージ管理システムを通じてパッケージをインストール</b> (現在 AUR のみ)</summary>
<details open><summary><b>パッケージ管理システムを通じてパッケージをインストール</b> (現在限られたパッケージのみ)</summary>

この方法では対応するパッケージ管理ツールのみが必要です。

- [AUR (Arch Linux)](https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-AUR) `blesh-git` (devel), `blesh` (stable 0.3.3)
- [NixOS (nixpkgs)](https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-nixpkgs) `blesh` (devel)
</details>

<details open><summary><b>既存の <code>ble.sh</code> を更新</b></summary>
Expand Down
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -90,11 +90,12 @@ echo 'source ~/.local/share/blesh/ble.sh' >> ~/.bashrc
```
</details>

<details open><summary><b>Install a package using a package manager</b> (currently only AUR packages)</summary>
<details open><summary><b>Install a package using a package manager</b> (currently only a few packages)</summary>

This only requires the corresponding package manager.

- [AUR (Arch Linux)](https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-AUR) `blesh-git` (devel), `blesh` (stable 0.3.3)
- [NixOS (nixpkgs)](https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-nixpkgs) `blesh` (devel)
</details>

<details open><summary><b>Update an existing copy of <code>ble.sh</code></b></summary>
Expand Down
2 changes: 1 addition & 1 deletion docs/ChangeLog.md
Expand Up @@ -280,7 +280,7 @@
- command-help (`.read-man`): add missing `ble/util/assign/.rmtmp` `#D1840` 937a164
- complete: fix wrong `COMP_POINT` with `progcomp_alias` `#D1841` 369f7c0
- main (`ble-update`): fix error message with system-wide installation of `ble.sh` (fixed by tars0x9752) 1d2a9c1 a450775
- main. util: fix problems of readlink etc. found by test in macOS (reported by aiotter) `#D1849` XXXXXXX
- main. util: fix problems of readlink etc. found by test in macOS (reported by aiotter) `#D1849` fa955c1 `#D1855` XXXXXXX

## Documentation

Expand Down
1 change: 1 addition & 0 deletions lib/test-main.sh
Expand Up @@ -43,6 +43,7 @@ ble/test/start-section 'ble/main' 19
}

ble/test/chdir
cd -P .

mkdir -p ab/cd/ef
touch ab/cd/ef/file.txt
Expand Down
13 changes: 13 additions & 0 deletions note.txt
Expand Up @@ -6542,6 +6542,19 @@ bash_tips

2022-07-29

* test: cd -P . / README からリンク for nixpkgs (reported by aiotter) [#D1855]

- blesh-share を実行するとスクリプトのファイル名が返される。実際に動かそう
と思うと色々他にも変な所がある。修正するべき。

- LC_ALL が設定されている…。これは大丈夫なのだろうか→調べてみたが ble.sh
の関数は全て LC_ALL に対する対策が個別に為されている様なので気にしなくて
良い。

取り敢えず cd -P . だけは追加して後は nixpkgs 側は変更を依頼する。所で
nixpkgs の各パッケージについての問い合わせ方法・問い合わせ先はあるのだろう
か。maintainer の情報は埋め込まれているが連絡先は書かれていない。

* edit: display-shell-version (C-x C-v) で /etc/os-release も参照する [#D1854]

/etc/os-release の中の NAME= と VERSION= を見れば良さそう?
Expand Down

0 comments on commit a22e145

Please sign in to comment.