Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pymolfile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nomad-lab
pymolfile
Commits
b0979eb3
Commit
b0979eb3
authored
Dec 12, 2017
by
Berk Onat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed backup files for reinstall.
parent
43fffdbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pymolfile/molfile/molfile_plugins/compile/silence_plugins.sh
pymolfile/molfile/molfile_plugins/compile/silence_plugins.sh
+3
-3
No files found.
pymolfile/molfile/molfile_plugins/compile/silence_plugins.sh
View file @
b0979eb3
...
...
@@ -38,9 +38,9 @@ do
#firstline=`cat $file | head -n 1`
#sed -i.bak '1a\'$'\n'${firstline}$'\n' $file
sed
-i
.bak
'1i\'$'
\n
''#endif'$'
\n
'
$file
sed
-i
.bak
'1i\'$'
\n
''char msgstr'
${
fcount
}
'[512], msgout'
${
fcount
}
'[512], msgerr'
${
fcount
}
'[512];'$'
\n
'
$file
sed
-i
.bak
'1i\'$'
\n
''#define SILENCE_'
${
fcount
}
'_PLUGIN 1'$'
\n
'
$file
sed
-i
.bak
'1i\'$'
\n
''#ifndef SILENCE_'
${
fcount
}
'_PLUGIN'$'
\n
'
$file
sed
-i
""
'1i\'$'
\n
''char msgstr'
${
fcount
}
'[512], msgout'
${
fcount
}
'[512], msgerr'
${
fcount
}
'[512];'$'
\n
'
$file
sed
-i
""
'1i\'$'
\n
''#define SILENCE_'
${
fcount
}
'_PLUGIN 1'$'
\n
'
$file
sed
-i
""
'1i\'$'
\n
''#ifndef SILENCE_'
${
fcount
}
'_PLUGIN'$'
\n
'
$file
#sed -i.bak $incline'a\'$'\n''#define SILENCE_PLUGINS_'${fcount}' 1'$'\n' $file
#sed -i.bak $incline'a\'$'\n''#ifndef SILENCE_PLUGINS_'${fcount}''$'\n' $file
singlelines1
=
`
cat
$file
|
grep
-n
-e
"
$pattern1
"
|
grep
-v
"^--"
|
awk
-F
":"
'{print $1}'
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment