adium-1.4 3377:45f9510fb001: `basename` seems to not be happy wi...
commits at adium.im
commits at adium.im
Sun Feb 27 14:07:34 UTC 2011
details: http://hg.adium.im/adium-1.4/rev/45f9510fb001
revision: 3377:45f9510fb001
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Sun Feb 27 15:07:25 2011 +0100
`basename` seems to not be happy with spaces.
diffs (15 lines):
diff -r f6d116a7bee4 -r 45f9510fb001 Utilities/tosupportpage.sh
--- a/Utilities/tosupportpage.sh Sun Feb 27 14:36:09 2011 +0100
+++ b/Utilities/tosupportpage.sh Sun Feb 27 15:07:25 2011 +0100
@@ -52,7 +52,7 @@
> "$1/pgs/$(basename $file)"
done
-
-for file in ../AdiumHelp/gfx/*; do
-cp "$file" "$1/gfx/$(basename $file)"
+find ../AdiumHelp/gfx/ -type f|while read file
+do
+cp -v "$file" "$1/gfx/${file##*/}"
done
\ No newline at end of file
More information about the commits
mailing list