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
|
if [ ! -n "$FAKEROOTKEY" ]; then
|
||||||
stat $pkgfile \
|
if stat $pkgfile \
|
||||||
> /dev/null \
|
> /dev/null \
|
||||||
2> /dev/null \
|
2> /dev/null; then
|
||||||
&& warn 'Package already built'
|
warn 'Package already built'
|
||||||
|
elif stat $srcdir \
|
||||||
stat $srcdir \
|
|
||||||
> /dev/null \
|
> /dev/null \
|
||||||
2> /dev/null \
|
2> /dev/null; then
|
||||||
&& warn 'Package partially built'
|
warn 'Package partially built'
|
||||||
|
fi
|
||||||
|
|
||||||
make_dir "$srcdir"
|
make_dir "$srcdir"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue