move wrapper scripts to /usr/local/bin
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3897f11c43
commit
a87cecf558
@ -1,9 +1,9 @@
|
|||||||
#!/usr/bin/sh
|
#!/usr/bin/env sh
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
DIR=$(pwd)
|
DIR=$(pwd)
|
||||||
|
|
||||||
mkdir ./dist
|
mkdir -p ./dist
|
||||||
echo '%_topdir '"${DIR%/}"'/dist' > /root/.rpmmacros
|
echo '%_topdir '"${DIR%/}"'/dist' > /root/.rpmmacros
|
||||||
rpmdev-setuptree
|
rpmdev-setuptree
|
||||||
rsync -q -av "${DIR%/}/patch/" "${DIR%/}/dist/SOURCES"
|
rsync -q -av "${DIR%/}/patch/" "${DIR%/}/dist/SOURCES"
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/sh
|
#!/usr/bin/env sh
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
exec /usr/bin/rpmbuild "$@"
|
exec /usr/bin/rpmbuild "$@"
|
Reference in New Issue
Block a user