Debian Codegraph @

debian/rename-static-libs.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 set -eu
4 shopt -s globstar
5
6 if [[ $(ls debian/tmp/**/*-static.a | wc -l) != 3 ]]; then
7 echoscip-shell system . . echo. "Can't find the libraries!"
8 exit 1
9 fi
10
11 for lib in $(lsscip-shell system . . ls. debian/tmp/**/*-static.a); do
12 echoscip-shell system . . echo. "Renaming ${lib}"
13 mvscip-shell system . . mv. "${lib}" "${lib//-static/}"
14 done