mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Small changes
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
df60bfceda
commit
7ba42f052a
12 changed files with 58 additions and 18 deletions
|
@ -17,13 +17,13 @@
|
|||
|
||||
commentPatches() {
|
||||
file="$1";
|
||||
if [ -f $file ]; then
|
||||
if [ -f "$file" ]; then
|
||||
shift;
|
||||
for var in "$@"
|
||||
do
|
||||
#escaped=$(printf "%q" "$var");
|
||||
#echo $escaped;
|
||||
sed -i $file -e '\|'$var'| s|^#*|#|';
|
||||
sed -i "$file" -e '\|'$var'| s|^#*|#|';
|
||||
done
|
||||
fi;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue