~fredg/NuTyX

9ee46c25322cb938359251b59c9dc8aec64904e0 — alienus 8 years ago 2813e8e
use \@ for mkdir and cat
1 files changed, 6 insertions(+), 6 deletions(-)

M pkgdir.sh
M pkgdir.sh => pkgdir.sh +6 -6
@@ 49,7 49,7 @@ check_dir()

pkg_default()
{
    cat > $PORT/Pkgfile << EOF
    cat > $PKGNAME\@$PKGVERSION/Pkgfile << EOF
source=()

build(){


@@ 68,7 68,7 @@ EOF

pkg_python()
{
    cat > $PORT/Pkgfile << EOF
    cat > $PKGNAME\@$PKGVERSION/Pkgfile << EOF
source=()

build() {


@@ 86,7 86,7 @@ EOF

pkg_perl()
{
    cat > $PORT/Pkgfile << EOF
    cat > $PKGNAME\@$PKGVERSION/Pkgfile << EOF
source=()

build() {


@@ 111,7 111,7 @@ EOF

pkg_waf()
{
    cat > $PORT/Pkgfile << EOF
    cat > $PKGNAME\@$PKGVERSION/Pkgfile << EOF
source=()

build() {


@@ 131,7 131,7 @@ EOF

pkg_info()
{
    cat > $PORT/$PKGNAME.info << EOF
    cat > $PKGNAME\@$PKGVERSION/$PKGNAME.info << EOF


URL: 


@@ 145,7 145,7 @@ at nutyx dot org
# NuTyX package info file (http://nutyx.org)
EOF

echo "$DIR/$PKGNAME.info created"
echo "$PORT/$PKGNAME.info created"
}

parse_options()