#!/bin/bash # During the protection step, there will be a "libscp_runtime*.a" file in the # root directory; link it to a different folder so it can be loaded with # cc_prebuilt_library_static. During the analysis step, it doesn't exist, so # create a placeholder archive. if [[ ! -e $1 ]]; then printf '!\n' >"$1" fi cp "$1" "$2"