projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7347b
)
Add protection in case patch list file does not exist
author
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 28 Nov 2014 05:56:31 +0000
(
00:56
-0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:18 +0000
(23:44 -0500)
functions/fpkg
patch
|
blob
|
history
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)