mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-27 06:10:36 +00:00
8ac02960b1
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
9 lines
321 B
Bash
Executable File
9 lines
321 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euxv
|
|
|
|
CWD="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)"
|
|
if [ -e "${CWD}/SOURCES/darling.tar.gz" ]; then
|
|
rm "${CWD}/SOURCES/darling.tar.gz"
|
|
fi
|
|
tar --transform "s|^\./|darling/|" -cf "${CWD}/SOURCES/darling.tar.gz" -C "${CWD}/.." --exclude=.git --exclude SOURCES --exclude SRPMS --exclude RPMS . |