Autocreate config dir attempt 2

Nakidai 2023-10-30 03:15:24 +03:00
parent d241321aff
commit b51afc628f
Signed by untrusted user who does not match committer: nakidai
GPG Key ID: 914675D395210A97
1 changed files with 7 additions and 2 deletions

9
configure vendored
View File

@ -1,7 +1,5 @@
#!/bin/sh
mkdir config
CC=${CC:-cc}
RM=${RM:-rm -f}
CFLAGS=${CFLAGS:-}
@ -23,6 +21,13 @@ echo "Size: $SIZE"
echo "Start x: $DEFX"
echo "Start y: $DEFY"
if [ ! test -d config ]; then
if [ test-f config ]; then
rm config
fi
mkdir config
fi
echo "CC = $CC
RM = $RM
CFLAGS = $CFLAGS