Remove hardcoding of the file name

This commit is contained in:
Anastasia Kubova 2021-06-09 10:38:18 +03:00
Родитель 83fed50543
Коммит f9dfe7d6e6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -7,7 +7,7 @@ set -e
PROJECT_DIR="$(dirname "$0")/.."
# Create temporary directory
TEMP_ARCH_NAME="PLCrashReporter"
TEMP_ARCH_NAME=`echo $1 | cut -d'-' -f 1`
TEMP_DIR=$(mktemp -d -t "$TEMP_ARCH_NAME")
TEMP_PATH_TO_ARCH="$TEMP_DIR/$TEMP_ARCH_NAME"
mkdir -p "$TEMP_PATH_TO_ARCH"