-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc. cleanup (strictly non-functional changes)
Changes worth saving from stale old branch (now deleted).
- Loading branch information
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
#!bin/bash | ||
# Remove *.so.1 files and replace them with links. | ||
#!/bin/bash | ||
# Remove *.so.1 files and replace them with links to corresponding *.so files. | ||
|
||
cd ~/OVT/ovt/dist_static/natives/Linux/ | ||
|
||
filename_list=$(ls *.so.1 ); | ||
|
||
for filename in ${filename_list[@]} | ||
do | ||
# ${string/%substring/replacement} If $substring matches back end of $string, substitute $replacement for $substring | ||
echo "Removing" $filename | ||
rm $filename | ||
ln -s ${filename%.1} $filename | ||
ln -s ${filename%.1} $filename | ||
echo "Creating link "${filename%.1} to $filename | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters