2018-08-30 22:39:24 +00:00
|
|
|
#!/bin/sh -e
|
2021-01-07 23:16:08 +00:00
|
|
|
# Copyright 2021 Oliver Smith
|
2018-08-30 22:39:24 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
if [ -z "$1" ]; then
|
2023-03-16 21:14:21 +00:00
|
|
|
echo "usage: $(basename "$0") \$CI_PROJECT_DIR"
|
2018-08-30 22:39:24 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
for log in \
|
|
|
|
/home/pmos/.local/var/pmbootstrap/log.txt \
|
|
|
|
/home/pmos/.local/var/pmbootstrap/log_testsuite_pmaports.txt \
|
|
|
|
/home/pmos/.config/pmbootstrap.cfg \
|
|
|
|
; do
|
|
|
|
[ -e "$log" ] && mv "$log" "$1"
|
|
|
|
done
|