From d619dd3ec829485968e8db4543081fc152573222 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jun 17 2014 13:56:56 +0000 Subject: rename the tree-prep script to align with doc --- diff --git a/rpm-tree-prep.sh b/rpm-tree-prep.sh new file mode 100644 index 0000000..0710eec --- /dev/null +++ b/rpm-tree-prep.sh @@ -0,0 +1,7 @@ +#!/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 diff --git a/rpm_tree_prep.sh b/rpm_tree_prep.sh deleted file mode 100644 index 0710eec..0000000 --- a/rpm_tree_prep.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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