diff --git a/.gitignore b/.gitignore index 9e017ae..3890876 100644 --- a/.gitignore +++ b/.gitignore @@ -54,4 +54,7 @@ dkms.conf # MacOS .DS_Store file **/.DS_Store -**/._.DS_Store \ No newline at end of file +**/._.DS_Store + +# Ignore handout files +handout/ \ No newline at end of file diff --git a/makecopy b/makecopy index abb0fd5..3f2deba 100755 --- a/makecopy +++ b/makecopy @@ -4,9 +4,13 @@ GE_TXATT=0 GE_RXATT=25 -DST_DIR=`pwd` +DST_DIR="$(pwd)/handout" PROJECT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +echo ${DST_DIR} + +mkdir -p ${DST_DIR} + echo "Creating ..." cp -rL $PROJECT_DIR/df_datalink_ge/src $DST_DIR/df_datalink_ge sed -i'' -e "s/antConfig->rfTxMgc = 0;/antConfig->rfTxMgc = $GE_TXATT;/g" $DST_DIR/df_datalink_ge/networking/phy_layer/phy_antenna.c @@ -38,4 +42,4 @@ for key in ${!calMap[*]};do /\};/!b table s/=.*\};/=\n\/\/Antenna-$key\n${calMap[$key]}/ }" $DST_DIR/$projName/networking/phy_layer/phy_antenna.c -done \ No newline at end of file +done