mirror of
https://github.com/dynup/kpatch
synced 2024-12-15 01:44:32 +00:00
Merge pull request #25 from spartacus06/fixes
remove quotes around for loop elements
This commit is contained in:
commit
f0ce3443b5
@ -121,7 +121,7 @@ fi
|
||||
|
||||
echo "Rebuilding changed objects"
|
||||
mkdir "$TEMPDIR/patched"
|
||||
for i in "$(cat $TEMPDIR/changed_objs)"; do
|
||||
for i in $(cat $TEMPDIR/changed_objs); do
|
||||
rm -f "$i"
|
||||
KCFLAGS="-ffunction-sections -fdata-sections" make "$i" >> "$LOGFILE" 2>&1 || die
|
||||
$STRIPCMD "$i" >> "$LOGFILE" 2>&1 || die
|
||||
@ -131,7 +131,7 @@ for i in "$(cat $TEMPDIR/changed_objs)"; do
|
||||
done
|
||||
patch -R -p1 < "$PATCHFILE" >> "$LOGFILE" 2>&1
|
||||
mkdir "$TEMPDIR/orig"
|
||||
for i in "$(cat $TEMPDIR/changed_objs)"; do
|
||||
for i in $(cat $TEMPDIR/changed_objs); do
|
||||
rm -f "$i"
|
||||
KCFLAGS="-ffunction-sections -fdata-sections" make "$i" >> "$LOGFILE" 2>&1 || die
|
||||
$STRIPCMD -d "$i" >> "$LOGFILE" 2>&1 || die
|
||||
|
Loading…
Reference in New Issue
Block a user