[Xfce4-commits] <midori:master> nsis: Make error when grabing files abort the script
Christian Dywan
noreply at xfce.org
Mon Feb 11 23:14:07 CET 2013
Updating branch refs/heads/master
to 64feb6f193a7d78d698fca6577a72daa71eca987 (commit)
from 78fb6e72a985d5dc60c9e182f057f901d7b6b91d (commit)
commit 64feb6f193a7d78d698fca6577a72daa71eca987
Author: Paweł Forysiuk <tuxator at o2.pl>
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
More information about the Xfce4-commits
mailing list