mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Removed unneeded description
This commit is contained in:
@@ -63,7 +63,7 @@ advanced_patch () {
|
||||
if [ -s "$dir/$name" ]; then
|
||||
process_patch_file "$dir/$name" "$description"
|
||||
else
|
||||
display_alert "... ${description} ${name}" "skipped" "info"
|
||||
display_alert "... $name" "skipped" "info"
|
||||
fi
|
||||
break # next name
|
||||
fi
|
||||
@@ -87,13 +87,13 @@ process_patch_file() {
|
||||
| awk '{print $NF}' | sed -n 's/,//p' | xargs -I % sh -c 'rm %'
|
||||
|
||||
# main patch command
|
||||
echo "$patch" >> $DEST/debug/install.log
|
||||
echo "$patch $description" >> $DEST/debug/install.log
|
||||
patch --batch --silent -p1 -N < $patch >> $DEST/debug/install.log 2>&1
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
display_alert "... $(basename $patch) $description" "failed" "wrn";
|
||||
display_alert "... $(basename $patch)" "failed" "wrn";
|
||||
else
|
||||
display_alert "... $(basename $patch) $description" "succeeded" "info"
|
||||
display_alert "... $(basename $patch)" "succeeded" "info"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user