Move filelist creation ABOVE the other metafiles to keep them out of the list
This commit is contained in:
parent
4cd65c0a31
commit
010f35f299
1 changed files with 5 additions and 5 deletions
|
@ -861,6 +861,11 @@ else
|
||||||
fi
|
fi
|
||||||
size=$(du -cb $startdir/pkg | tail -n 1 | awk '{print $1}')
|
size=$(du -cb $startdir/pkg | tail -n 1 | awk '{print $1}')
|
||||||
|
|
||||||
|
# build a filelist - do this first to keep meta files out of the list
|
||||||
|
msg "Generating .FILELIST file..."
|
||||||
|
cd "$startdir/pkg"
|
||||||
|
tar cvf /dev/null * | sort >.FILELIST
|
||||||
|
|
||||||
# write the .PKGINFO file
|
# write the .PKGINFO file
|
||||||
msg "Generating .PKGINFO file..."
|
msg "Generating .PKGINFO file..."
|
||||||
cd $startdir/pkg
|
cd $startdir/pkg
|
||||||
|
@ -914,11 +919,6 @@ if [ -f "$startdir/ChangeLog" ]; then
|
||||||
have_changelog=1
|
have_changelog=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build a filelist
|
|
||||||
msg "Generating .FILELIST file..."
|
|
||||||
cd "$startdir/pkg"
|
|
||||||
tar cvf /dev/null * | sort >.FILELIST
|
|
||||||
|
|
||||||
# tar it up
|
# tar it up
|
||||||
msg "Compressing package..."
|
msg "Compressing package..."
|
||||||
cd "$startdir/pkg"
|
cd "$startdir/pkg"
|
||||||
|
|
Loading…
Add table
Reference in a new issue