Files
itgmania212121/stepmania/PBProject/scripts/copy_files_for_libs.sh
T
2003-08-02 05:12:13 +00:00

20 lines
518 B
Bash
Executable File

#!/bin/sh
# Copies the files from `files' into the directory `./local'.
# Use this with the PackageMaker file to create `StepMania Libs.pkg'.
# Keep in mind that you must change the Root directory under the files
# tab in `StepMania Libs.pmsp'.
CURR=`pwd`/$0
CURR=`dirname $CURR`
DEST=$CURR/..
FILES=`cat $CURR/files`
mkdir $DEST/local
for i in $FILES; do
FIRST_CHAR=`echo $i|cut -c 1-1`
if [ "x$FIRST_CHAR" != "x" -a "$FIRST_CHAR" != "#" ]; then
cp -d --recursive -v --parents $i $DEST/local/
fi
done