diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-02 21:56:05 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-02 21:56:05 -0400 |
commit | 06fbc63477803a7323e57fd3663937dd1be88d39 (patch) | |
tree | 5f4a13ec4220cc1c32ec00dee6a3d2802c40f24a /pbs-absrepo-convert--list | |
parent | 729b829badced801f99d048e09c46add2ebfe991 (diff) |
rewrite pbs-absrepo-convert
Diffstat (limited to 'pbs-absrepo-convert--list')
-rwxr-xr-x | pbs-absrepo-convert--list | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pbs-absrepo-convert--list b/pbs-absrepo-convert--list new file mode 100755 index 0000000..527568a --- /dev/null +++ b/pbs-absrepo-convert--list @@ -0,0 +1,7 @@ +#!/bin/bash + +ls -1 > "${TMPDIR}/packages.tmp.${GIT_COMMIT}" +find */repos/* -type d -printf '%f\n' >> "${TMPDIR}/repo-arch.tmp.${GIT_COMMIT}" + +mv "${TMPDIR}/packages.tmp.${GIT_COMMIT}" "${TMPDIR}/packages.new.${GIT_COMMIT}" +mv "${TMPDIR}/repo-arch.tmp.${GIT_COMMIT}" "${TMPDIR}/repo-arch.new.${GIT_COMMIT}" |