mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
11 lines
197 B
Bash
11 lines
197 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
if [ -z "$GOPEED_TEST_DEST_DIR" ]; then
|
|
echo "GOPEED_TEST_DEST_DIR is empty" >&2
|
|
exit 2
|
|
fi
|
|
|
|
mkdir -p "$GOPEED_TEST_DEST_DIR"
|
|
mv "$GOPEED_TASK_PATH" "$GOPEED_TEST_DEST_DIR/"
|