Skip to content

Commit b4e7175

Browse files
committed
Address some build/script problems.
See #74
1 parent bde5620 commit b4e7175

File tree

4 files changed

+33
-18
lines changed

4 files changed

+33
-18
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ install: all
9494
install -m 755 e9tool "$(DESTDIR)/usr/bin/e9tool"
9595
install -m 755 e9compile.sh "$(DESTDIR)/usr/bin/e9compile"
9696
sed \
97-
-e 's/-I example/-I \/usr\/share\/e9compile\/include/g' e9compile.sh > \
97+
-e 's/-I examples/-I \/usr\/share\/e9compile\/include/g' e9compile.sh > \
9898
"$(DESTDIR)/usr/bin/e9compile"
9999
chmod 555 "$(DESTDIR)/usr/bin/e9compile"
100100
install -d "$(DESTDIR)/usr/share/doc/e9patch/"

build.sh

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
#!/bin/bash
2+
#
3+
# Copyright (C) National University of Singapore
4+
#
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
217

318
if [ -t 1 ]
419
then
5-
RED="\033[31m"
6-
GREEN="\033[32m"
7-
YELLOW="\033[33m"
8-
BOLD="\033[1m"
9-
OFF="\033[0m"
20+
RED='\033[31m'
21+
GREEN='\033[32m'
22+
YELLOW='\033[33m'
23+
BOLD='\033[1m'
24+
OFF='\033[0m'
1025
else
1126
RED=
1227
GREEN=

e9compile.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright (C) 2022 National University of Singapore
3+
# Copyright (C) National University of Singapore
44
#
55
# This program is free software: you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License as published by
@@ -19,11 +19,11 @@ set -e
1919

2020
if [ -t 1 ]
2121
then
22-
RED="\033[31m"
23-
GREEN="\033[32m"
24-
YELLOW="\033[33m"
25-
BOLD="\033[1m"
26-
OFF="\033[0m"
22+
RED='\033[31m'
23+
GREEN='\033[32m'
24+
YELLOW='\033[33m'
25+
BOLD='\033[1m'
26+
OFF='\033[0m'
2727
else
2828
RED=
2929
GREEN=

install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright (C) 2023 National University of Singapore
3+
# Copyright (C) National University of Singapore
44
#
55
# This program is free software: you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License as published by
@@ -17,11 +17,11 @@
1717

1818
if [ -t 1 ]
1919
then
20-
RED="\033[31m"
21-
GREEN="\033[32m"
22-
YELLOW="\033[33m"
23-
BOLD="\033[1m"
24-
OFF="\033[0m"
20+
RED='\033[31m'
21+
GREEN='\033[32m'
22+
YELLOW='\033[33m'
23+
BOLD='\033[1m'
24+
OFF='\033[0m'
2525
else
2626
RED=
2727
GREEN=

0 commit comments

Comments
 (0)