aboutsummaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/copy-to-ide16
1 files changed, 7 insertions, 9 deletions
diff --git a/support/scripts/copy-to-ide b/support/scripts/copy-to-ide
index 5bf52a4..c6b4c16 100755
--- a/support/scripts/copy-to-ide
+++ b/support/scripts/copy-to-ide
@@ -4,9 +4,7 @@
# repository.
# Change this
-DEST=`pwd`/../maple-ide/hardware/leaflabs/cores/maple/
-
-ARCH=`uname -a`
+DEST=`pwd`/../maple-ide-java/hardware/leaflabs/cores/maple
FILES="LICENSE
./libmaple/*.h
@@ -21,8 +19,8 @@ FILES="LICENSE
./wirish/*.cpp
./wirish/comm/*.cpp
./wirish/comm/*.h
- ./support/ld/maple/
- ./support/ld/maple_native/
+ ./support/ld/maple
+ ./support/ld/maple_native
./support/ld/libcs3-lanchon-stm32.a
./support/ld/names.inc"
@@ -34,9 +32,9 @@ then
exit -1
fi
-echo "Then delete the old files..."
-rm -r $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx $DEST/*.ld $DEST/*.inc $DEST/*.a $DEST/maple/ $DEST/maple_native/
+echo "\nThen delete the old files..."
+rm -r $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx $DEST/*.inc $DEST/*.a $DEST/maple $DEST/maple_native
-echo "Finally copy the new source files!"
-cp -r $FILES $DEST
+echo "\nFinally copy the new source files!"
+cp -R $FILES $DEST
echo "Done."