Skip to content

The Free Software Media System - Server Backend & API

Use basename for cross-platform operation

Joshua Boniface0dab69b55194
diff --git a/build b/build
index c2daddd84a..b922cf72a9 100755
--- a/build
+++ b/build
@@ -10,7 +10,7 @@ declare -a actions=( 'build' 'package' 'sign' 'publish' )
# The list of possible platforms, based on directories under 'deployment/'
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