Skip to content

Commit 33b7b2f

Browse files
committed
Use installed gforth to take gforth.txt from
1 parent 3b50a45 commit 33b7b2f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

arch/arm/android/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ then
133133
if [ "$1" != "--no-config" ]; then make extras || exit 1; fi
134134
echo -n " debdist" 1>&3
135135
mkdir -p debian/sdcard/gforth/current/doc
136-
cp doc/gforth.txt debian/sdcard/gforth/current/doc
136+
cp `gforth provides.fs -e '"doc/gforth.txt" >abspath type bye'` debian/sdcard/gforth/current/doc
137137
make setup-debdist || exit 1) || exit 1
138138
if [ "$1" == "--no-config" ]
139139
then

provides.fs

-6
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ $variable provider-file
4242
\G what's the source provider's file name?
4343
provider-file $@ 2dup d0= IF 2drop sourcefilename >abspath THEN ;
4444

45-
[IFUNDEF] provides-file
46-
: provides-file ( -- addr u )
47-
${XDG_DATA_HOME} dup 0= IF 2drop "~/.local/share" THEN
48-
[: type ." /gforth/provides" ;] $tmp ;
49-
[THEN]
50-
5145
$variable last-provider
5246
0 Value provides.fd
5347

0 commit comments

Comments
 (0)