mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 08:12:56 +00:00
8 lines
224 B
Bash
8 lines
224 B
Bash
![]() |
#!/bin/bash
|
||
|
# we need some sanity here, plus some tests rather than
|
||
|
# blindly hitting rpmbuild and cp -a
|
||
|
|
||
|
rpmbuild --define "%_topdir `pwd`" -bp --nodeps SPECS/*.spec
|
||
|
bpn=$( ls BUILD )
|
||
|
cp -a BUILD/${bpn} BUILD/${bpn}__orig
|