From owner-freebsd-ports@freebsd.org Fri Dec 15 19:58:17 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F5E1E8B20D for ; Fri, 15 Dec 2017 19:58:17 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from taro.utanet.at (taro.utanet.at [IPv6:2001:938:1337:25::25:45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9CFE46362F for ; Fri, 15 Dec 2017 19:58:16 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:References:To:From:Subject; bh=2wl0OSDmYmxRybVzpZD3axhSFQU0bshpPWa8xwe3ssU=; b=jzfQoSRsy4NyGpJtvieON/owH/7RkBcO7o6DnCpf2g1hXIrdhP5s4s8Q0T0/ElDmLMzG/T0g8JE/otq0HsXAeh7ghHL+sTUOQ7MoKOIRzMuMMUVjY6kBGpqkwunnBMSSkGSN6b0CeTQS98SgWcoXqD3y2dEAyMZaWdoCMsGVOhQ=; Received: from patricia.xoc.tele2net.at ([213.90.36.9]) by taro.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1ePw7a-0007JC-9D for freebsd-ports@freebsd.org; Fri, 15 Dec 2017 20:58:14 +0100 Received: from 193-83-243-117.adsl.highway.telekom.at ([193.83.243.117] helo=[10.0.0.93]) by patricia.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1ePw7a-0005BU-6X for freebsd-ports@freebsd.org; Fri, 15 Dec 2017 20:58:14 +0100 Subject: Re: portmaster strange output after patch From: Walter Schwarzenfeld To: freebsd-ports@freebsd.org References: <15dd43a3-5c71-17c5-f5bd-5c676a495bcb@utanet.at> Message-ID: Date: Fri, 15 Dec 2017 20:58:13 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <15dd43a3-5c71-17c5-f5bd-5c676a495bcb@utanet.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TELE2-Authenticated-As: cf62768e218b4d81d95cc5390f1bd9dfc8b05683 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 19:58:17 -0000 On 15.12.2017 20:45, Walter Schwarzenfeld wrote: > After recent patch, I had a strange output in my terminal with portmaster > > + trap trap_exit INT > + umask 022 > + progcmd=/usr/local/sbin/portmaster > + progname=portmaster > + realpath /usr/local/sbin/portmaster > + program=/usr/local/sbin/portmaster > + [ -z '' ] > + PM_PARENT_PID=40170 > + : /tmp > + /bin/mkdir -p /tmp > + UPGRADE_TOOL=portmaster > + PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin > + [ -e /usr/X11R6 ] > + [ -n '' -a -z '' ] > + export PM_PARENT_PID TMPDIR UPGRADE_TOOL PATH > + [ -r /etc/portmaster.rc ] > + set -o allexport > + [ -s /usr/local/etc/portmaster.rc ] > + [ -s /usr/local/sbin/portmaster.rc ] > + [ -s /root/.portmasterrc ] > + set +o allexport > + set > + my_environment='DISPLAY=:0 > HOME=/root > IFS='\'' > '\'' > LANG=de_DE.UTF-8 > LC_MESSAGES=C > LOGNAME=root > MAIL=/var/mail/root > OPTIND=1 > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin > PM_PARENT_PID=40170 > PPID=40169 > PS1='\''# '\'' > ...... > > > has someone other the same problem? > > If I remove the patch, all works normal. > It was the shebang -#!/bin/sh +#!/bin/sh -x please remove the -x greetings Walter Schwarzenfeld