mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Use basename for cross-platform operation
Trying to sed out the deployment/ failed on MacOS, so use the basename command instead for the same effect.
This commit is contained in:
parent
ff4cbfc6df
commit
0dab69b551
2
build
2
build
@ -10,7 +10,7 @@ declare -a actions=( 'build' 'package' 'sign' 'publish' )
|
|||||||
|
|
||||||
# The list of possible platforms, based on directories under 'deployment/'
|
# The list of possible platforms, based on directories under 'deployment/'
|
||||||
declare -a platforms=( $(
|
declare -a platforms=( $(
|
||||||
find deployment/ -maxdepth 1 -mindepth 1 -type d | sed 's/deployment\///' | sort
|
find deployment/ -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | sort
|
||||||
) )
|
) )
|
||||||
|
|
||||||
# The list of standard dependencies required by all build scripts; individual
|
# The list of standard dependencies required by all build scripts; individual
|
||||||
|
Loading…
x
Reference in New Issue
Block a user