darling/rpm/tarup.bsh
Andy Neff 0e58836f09 RPM working on Fedora 27
I didn't add setsebool -P mmap_low_allowed 1 to the install script because
I didn't feel comfortable adding that
2018-01-23 11:16:59 -05:00

9 lines
290 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 .