projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df2283
)
FIX added patchko.sh busybox compability
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Wed, 6 Feb 2013 08:59:37 +0000
(12:59 +0400)
committer
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Wed, 6 Feb 2013 08:59:37 +0000
(12:59 +0400)
driver/patchko.sh
patch
|
blob
|
history
diff --git
a/driver/patchko.sh
b/driver/patchko.sh
index
9dfcaa4
..
453debe
100755
(executable)
--- a/
driver/patchko.sh
+++ b/
driver/patchko.sh
@@
-1,4
+1,4
@@
-#!/bin/
ba
sh
+#!/bin/sh
opt=$1
patch_file=$2
output_file=$3
@@
-74,11
+74,11
@@
if [ -f "$patch_file" ]; then
else
error "Error on patching <${patch_file}>:data file <$data_file> NEW KEY TOO LONG"
error "CHECK YOUR KERNEL USED ON COMPILE SWAP IF YOU READ IT"
- exit
-2
+ exit
254
fi
else
error "Error on patching <${patch_file}>:data file <$data_file> not found"
- exit
-1
+ exit
255
fi
else
#if[ "$opt" != "-p" ];then