Updating branch refs/heads/master
to 64feb6f193a7d78d698fca6577a72daa71eca987 (commit)
from 78fb6e72a985d5dc60c9e182f057f901d7b6b91d (commit)
commit 64feb6f193a7d78d698fca6577a72daa71eca987
Author: Paweł Forysiuk <[email protected]>
Date: Mon Feb 11 19:23:44 2013 +0100
nsis: Make error when grabing files abort the script
win32/makedist/makedist.midori | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index 49eb910..5ddad3e 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -94,6 +94,9 @@ grab_files ()
shift
while [ "$1" ]; do
find $dir "(" -name "$1" ")" -prune -exec mkdir -p $workdir/{} ";"
-exec rmdir --ignore-fail-on-non-empty $workdir/{} ";" -exec cp -Lr {}
$workdir/{} ";"
+ if [ "$?" -ne "0" ]; then
+ exit
+ fi
shift
done
popd > /dev/null
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits