mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-11 08:03:26 +03:00
Change hardcoded ~ to HOME env var (#847)
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Adapted from a script provided by Jaynator495.
|
# Adapted from a script provided by Jaynator495.
|
||||||
# Make sure to place in home directory, chmod +x plugin-info.sh and then run with ./plugin-info.sh
|
# Make sure to place in home directory, chmod +x plugin-info.sh and then run with ./plugin-info.sh
|
||||||
# Define the directory to scan
|
# Define the directory to scan
|
||||||
directory_to_scan="~/homebrew/plugins"
|
directory_to_scan="$HOME/homebrew/plugins"
|
||||||
|
|
||||||
# Loop through each subdirectory (one level deep)
|
# Loop through each subdirectory (one level deep)
|
||||||
for dir in "$directory_to_scan"/*/; do
|
for dir in "$directory_to_scan"/*/; do
|
||||||
|
|||||||
Reference in New Issue
Block a user