Code cleanup in paco2porg.in

git-svn-id: https://svn.code.sf.net/p/porg/code/trunk@147 8854956c-c02d-4db9-8198-7e99b8e08f37
This commit is contained in:
davidrr 2015-04-29 06:52:07 +00:00
parent 9a8c4e696d
commit be8b0a86a9
1 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,6 @@ sed_cmd=@SED@
die() { echo "$me: $*"; exit 1; }
sayf() { [ "$opt_verb" ] && printf "$*"; }
dot() { sayf .; }
do_help()
{
@ -87,7 +86,7 @@ done
# Process the packages
sayf "Importing logs from '$paco_dir' to '$porg_dir'\n"
sayf "Importing packages from '$paco_dir' to '$porg_dir'\n"
for paco_log in $(find $paco_dir -maxdepth 1 -type f '!' -name '.*'); do
@ -97,7 +96,7 @@ for paco_log in $(find $paco_dir -maxdepth 1 -type f '!' -name '.*'); do
# check for '#!paco' header
if ! (head -1 $paco_log | grep --quiet '^#!paco'); then
sayf "paco header missing, file skipped\n"
sayf "paco header missing, skipped\n"
continue
fi