Apply merge request suggestions
parent
21831e61ad
commit
cd86c7302b
|
@ -18,7 +18,7 @@ if [[ -n "$UNITY_LICENSE" ]] || [[ -n "$UNITY_LICENSE_FILE" ]]; then
|
||||||
if [[ -n "$UNITY_LICENSE" ]]; then
|
if [[ -n "$UNITY_LICENSE" ]]; then
|
||||||
# Copy license file from Github variables
|
# Copy license file from Github variables
|
||||||
echo "$UNITY_LICENSE" | tr -d '\r' > $FILE_PATH
|
echo "$UNITY_LICENSE" | tr -d '\r' > $FILE_PATH
|
||||||
else
|
elif [[ -n "$UNITY_LICENSE_FILE" ]]; then
|
||||||
# Copy license file from file system
|
# Copy license file from file system
|
||||||
cat "$UNITY_LICENSE_FILE" | tr -d '\r' > $FILE_PATH
|
cat "$UNITY_LICENSE_FILE" | tr -d '\r' > $FILE_PATH
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue