Skip to content

Commit

Permalink
Fix configure script
Browse files Browse the repository at this point in the history
  • Loading branch information
Moe-hacker committed May 30, 2024
1 parent 6f48675 commit 3501114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ init() {
fi
printf "checking for compiler... "
if [ !$CC ]; then
if [ ! $(which cc) ]; then
if [ ! $(command -v cc) ]; then
error "not found"
fi
CC=$(realpath $(which cc))
CC=$(realpath $(command -v cc))
export CC=${CC##*/}
fi
printf "$CC\n"
Expand Down

0 comments on commit 3501114

Please sign in to comment.