fix partially built warning bug
This commit is contained in:
parent
4cfae86b14
commit
8b32f4058e
1 changed files with 7 additions and 7 deletions
14
iglupkg.sh
14
iglupkg.sh
|
@ -110,15 +110,15 @@ genmeta() {
|
|||
}
|
||||
|
||||
if [ ! -n "$FAKEROOTKEY" ]; then
|
||||
stat $pkgfile \
|
||||
if stat $pkgfile \
|
||||
> /dev/null \
|
||||
2> /dev/null \
|
||||
&& warn 'Package already built'
|
||||
|
||||
stat $srcdir \
|
||||
2> /dev/null; then
|
||||
warn 'Package already built'
|
||||
elif stat $srcdir \
|
||||
> /dev/null \
|
||||
2> /dev/null \
|
||||
&& warn 'Package partially built'
|
||||
2> /dev/null; then
|
||||
warn 'Package partially built'
|
||||
fi
|
||||
|
||||
make_dir "$srcdir"
|
||||
|
||||
|
|
Loading…
Reference in a new issue