Skip to content

Commit

Permalink
Also import the license.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijskooijman committed Jul 1, 2014
1 parent 2b0bdb0 commit 6f1fa5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions import
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,10 @@ sed -i -r 's%^#include "config.h"%#include "../../../config.h"%' "$TARGET/src/lw
# to the top of these files. This really isn't very pretty, though.
sed -i -r '1i #include "../../../config.h"' "$TARGET/src/lwm/sys/sysTypes.h"
sed -i -r '1i #include "../../../config.h"' "$TARGET/src/lwm/phy/phy.c"

cp "$SRC/license.txt" "$TARGET"
# license.txt contains curly quotes in a window-specific encoding, just
# convert to utf8.
iconv -f cp1252 -t utf8 "$TARGET/license.txt" --output "$TARGET/license.txt"
dos2unix --quiet "$TARGET/license.txt"

0 comments on commit 6f1fa5d

Please sign in to comment.