Skip to content

Commit

Permalink
Simplify chd directory string rewriting behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvessel committed Jan 20, 2021
1 parent 8c499d0 commit 8d74a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oeadvscan
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function oe.advscan {
oe.mameinfo

# Add disk sub-directories to the advscan.rc file so it can be seen.
sed -i '' -E "s|^(disk ).*|\1roms:`find roms/* -type d | tr '\n' ':'`|" advscan.rc
ddir=(`find roms/* -type d`) && sed -i '' -E "s|^(disk ).*|\1${(j[:])ddir}|" advscan.rc

if [[ $command == scan ]]; then
oe.action "Scanning... ver.$version"
Expand Down

0 comments on commit 8d74a5f

Please sign in to comment.