#!/bin/bash if [ $# -ne 1 ] then echo "rebase the dll under PN-PV/build" echo "Usage : " $0 "PN-PV" exit 1 fi if [ ! -d $1/build ] then echo $1"/build missing, so quitting" exit 1 fi echo "rebasing " $1"/dist" find $1/build/ -name "*.dll" > dll-list.txt rebase -O -T dll-list.txt