File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 19
19
set -e
20
20
21
21
# this should work for both the pSeries zImage and the iSeries vmlinux.sm
22
- image_name=` basename $2 `
22
+ image_name=$( basename " $2 " )
23
23
24
24
25
25
echo " Warning: '${INSTALLKERNEL} ' command not available... Copying" \
26
26
" directly to $4 /$image_name -$1 " >&2
27
27
28
- if [ -f $4 / $image_name - $1 ]; then
29
- mv $4 / $image_name - $1 $4 / $image_name - $1 .old
28
+ if [ -f " $4 " / " $image_name " - " $1 " ]; then
29
+ mv " $4 " / " $image_name " - " $1 " " $4 " / " $image_name " - " $1 " .old
30
30
fi
31
31
32
- if [ -f $4 /System.map-$1 ]; then
33
- mv $4 /System.map-$1 $4 /System-$1 .old
32
+ if [ -f " $4 " /System.map-" $1 " ]; then
33
+ mv " $4 " /System.map-" $1 " " $4 " /System-" $1 " .old
34
34
fi
35
35
36
- cat $2 > $4 / $image_name - $1
37
- cp $3 $4 /System.map-$1
36
+ cat " $2 " > " $4 " / " $image_name " - " $1 "
37
+ cp " $3 " " $4 " /System.map-" $1 "
You can’t perform that action at this time.
0 commit comments