diff options
author | Cem Keylan <cem@ckyln.com> | 2020-10-17 15:59:04 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-10-17 15:59:04 +0300 |
commit | 2b0068cf9502109aa9047994fc325273b0d19bf8 (patch) | |
tree | 70b0a0c4bdc609e8e543a974f0c6251f196b1e7e /core | |
parent | 497effd21610183f511bb54601ca7e9dd3a7b2d1 (diff) | |
download | repository-2b0068cf9502109aa9047994fc325273b0d19bf8.tar.gz |
otools: force remove testfile
Diffstat (limited to 'core')
-rwxr-xr-x | core/otools/build | 2 | ||||
-rwxr-xr-x | core/otools/build~ | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/core/otools/build b/core/otools/build index 568b6fa3..71b410c4 100755 --- a/core/otools/build +++ b/core/otools/build @@ -2,7 +2,7 @@ :> testfile less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk -rm testfile +rm -f testfile make make PREFIX=/usr DESTDIR="$1" install diff --git a/core/otools/build~ b/core/otools/build~ new file mode 100755 index 00000000..7ed3c2d8 --- /dev/null +++ b/core/otools/build~ @@ -0,0 +1,8 @@ +#!/bin/sh -e + +:> testfile +less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk +rm testfile + +make LDFLAGS='' +make PREFIX=/usr DESTDIR="$1" install |