musikcube/script/strip-nix.sh
2022-02-08 15:58:54 -08:00

12 lines
302 B
Bash
Executable File

#!/bin/sh
DIR=$1
if [ -z "$DIR" ]; then
echo "[strip] directory not specified, using current working directory"
DIR=`pwd`
fi
echo "[strip] resolved directory: ${DIR}"
strip "$DIR/bin/*" 2> /dev/null
strip "$DIR/bin/lib/*" 2> /dev/null
strip "$DIR/bin/plugin/*" 2> /dev/null
echo "[strip] finished"