projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new fortune
[feisty_meow.git]
/
scripts
/
text
/
smoove_lists.sh
diff --git
a/scripts/text/smoove_lists.sh
b/scripts/text/smoove_lists.sh
index ab212c11ede1cebad17256dc7c215826fc4e3fc5..01dbd22572964dc6e558d2e710099b9ca4d2719a 100644
(file)
--- a/
scripts/text/smoove_lists.sh
+++ b/
scripts/text/smoove_lists.sh
@@
-43,7
+43,7
@@
find . -maxdepth 1 -mindepth 1 -type d >"$tempfile"
while read found; do
# make a corresponding directory if there isn't one yet.
if [ ! -d "$target/$found" ]; then
while read found; do
# make a corresponding directory if there isn't one yet.
if [ ! -d "$target/$found" ]; then
- mkdir "$target/$found"
+ mkdir
-p
"$target/$found"
fi
# move all the files out of the source and into the target.
mv "$found"/* "$target/$found/"
fi
# move all the files out of the source and into the target.
mv "$found"/* "$target/$found/"
@@
-52,7
+52,7
@@
done <"$tempfile"
rm "$tempfile"
# clean out any directories that we managed to move everything out of.
rm "$tempfile"
# clean out any directories that we managed to move everything out of.
-perl "$
SHELLDIR
/files/zapdirs.pl" $source
+perl "$
FEISTY_MEOW_SCRIPTS
/files/zapdirs.pl" $source
popd &>/dev/null
popd &>/dev/null