mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 05:59:43 +00:00
20 lines
350 B
Bash
Executable File
20 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DUMP_SYMS=$1
|
|
COMPRESS=$2
|
|
SOURCE=$3
|
|
TARGET=$4
|
|
|
|
echo $SOURCE
|
|
|
|
DSYM_ARG=""
|
|
DSYM_FILE=""
|
|
BASESOURCE=$(basename "$SOURCE")
|
|
if [ -e "$BASESOURCE.dSYM" ]; then
|
|
DSYM_ARG="-g"
|
|
DSYM_FILE="$BASESOURCE.dSYM"
|
|
fi
|
|
|
|
echo $DUMP_SYMS $DSYM_ARG $DSYM_FILE $SOURCE | $COMPRESS > $TARGET
|
|
$DUMP_SYMS $DSYM_ARG "$DSYM_FILE" "$SOURCE" | $COMPRESS > "$TARGET"
|