summaryrefslogtreecommitdiff
path: root/gitclone
diff options
context:
space:
mode:
Diffstat (limited to 'gitclone')
-rwxr-xr-xgitclone3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitclone b/gitclone
index 6a0079a2..46d0306f 100755
--- a/gitclone
+++ b/gitclone
@@ -35,6 +35,9 @@ Check_vars(){
Patch(){
for patchfile in ${PWD}/${patchdir}/*.patch ; do
+ if [ ! -f "${patchfile}" ]; then
+ continue
+ fi
( cd ${tmp_dir}
git am ${patchfile} || return 1
)