Skip to content

Commit d35f85c

Browse files
authored
./add refuse directories (#34)
1 parent 78dc347 commit d35f85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/libc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ requirements_pkg() {
292292

293293
add_local() {
294294
local libc=$1
295-
[[ -e $libc ]] || return
295+
[[ -f $libc ]] || return
296296
local info="local"
297297
local id="local-`sha1sum $libc`"
298298
echo "Adding local libc $libc (id $id)"

0 commit comments

Comments
 (0)