Introduction
Introduction Statistics Contact Development Disclaimer Help
texample.sh: fix: sort list (regression from simplifying the script) - stagit -…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 0bc47da0f7b66614cdf499755ceca1dc13ff91cd
parent ad4043383956fce0949def38a830d8eb61fa0565
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 29 Apr 2016 21:52:29 +0200
example.sh: fix: sort list (regression from simplifying the script)
Diffstat:
M example.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/example.sh b/example.sh
t@@ -17,11 +17,11 @@ curdir=$(pwd)
# make index.
cd "${reposdir}"
-find . -maxdepth 1 -type d | grep -v "^.$" | xargs stagit-index > "${curdir}/i…
+find . -maxdepth 1 -type d | grep -v "^.$" | sort | xargs stagit-index > "${cu…
# make files per repo.
cd "${reposdir}"
-find . -maxdepth 1 -type d | grep -v "^.$" | while read -r dir; do
+find . -maxdepth 1 -type d | grep -v "^.$" | sort | while read -r dir; do
d=$(basename "${dir}")
printf "%s... " "${d}"
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.