Browse Source

* cleaned pkgsel.in to create $target.pkgsel.awk instead of one with a hardcoded 'rakali' on it

git-svn-id: svn://svn.opensde.net/desktop/rakali/trunk@39 219270a8-6335-0410-8c83-dfab25b4dc40
master
Alejandro Mery 16 years ago
parent
commit
3e090d7f62
1 changed files with 19 additions and 5 deletions
  1. +19
    -5
      pkgsel.in

+ 19
- 5
pkgsel.in

@ -1,14 +1,28 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/rakali/pkgsel.in
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# generate pkgsel.awk file
#
if [ ! -s $cfgtmpdir/rakali.pkgsel.awk ]; then
cat <<-EOT > $cfgtmpdir/rakali.pkgsel.awk
# Generated for $target target
if [ ! -s $cfgtmpdir/$target.pkgsel.awk ]; then
cat <<-EOT > $cfgtmpdir/$target.pkgsel.awk
# Generated for target/$target/pkgsel.d/*.all
#
EOT
lib/sde-config/pkgsel2awk.sh $( ls -1d target/$target/pkgsel.d/*.all ) \
>> $cfgtmpdir/rakali.pkgsel.awk
>> $cfgtmpdir/$target.pkgsel.awk
fi
pkgfilter awk -f $cfgtmpdir/rakali.pkgsel.awk
pkgfilter awk -f $cfgtmpdir/$target.pkgsel.awk

Loading…
Cancel
Save