projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add protection in case patch list file does not exist
[hvlinux.git]
/
functions
/
fpkg
diff --git
a/functions/fpkg
b/functions/fpkg
index
4d23bda
..
eedc14d
100644
(file)
--- a/
functions/fpkg
+++ b/
functions/fpkg
@@
-244,6
+244,11
@@
static_checkpatch()
local PATCHES_LIST=${2}
local PATCHES_URL=${3}
+ # Make sure patch list file exists
+ if [ ! -f ${PATCHES_LIST} ]; then
+ return
+ fi
+
# Remplace les "+" par "%2B"
local PACK_URL=$(echo $PACK | sed s!\+!%2B!g)