[151423] trunk/base/portmgr/jobs
cal at macports.org
cal at macports.org
Mon Aug 15 16:36:55 PDT 2016
Revision: 151423
https://trac.macports.org/changeset/151423
Author: cal at macports.org
Date: 2016-08-15 16:36:55 -0700 (Mon, 15 Aug 2016)
Log Message:
-----------
portmgr: Fix PortIndex2MySQL #!, drop Makefile
The shebang of PortIndex2MySQL.tcl was hardcoded to /opt/local/bin/port-tclsh.
Use /usr/bin/env port-tclsh to make the script portable and obsolete the
Makefile (which didn't do anything other than copying the file for a while
now). Create a symlink so that use cases that expect the script to be available
as "PortIndex2MySQL" don't break.
Modified Paths:
--------------
trunk/base/portmgr/jobs/PortIndex2MySQL.tcl
trunk/base/portmgr/jobs/PortIndex2PGSQL.tcl
Added Paths:
-----------
trunk/base/portmgr/jobs/PortIndex2MySQL
Removed Paths:
-------------
trunk/base/portmgr/jobs/Makefile
Deleted: trunk/base/portmgr/jobs/Makefile
===================================================================
--- trunk/base/portmgr/jobs/Makefile 2016-08-15 22:01:09 UTC (rev 151422)
+++ trunk/base/portmgr/jobs/Makefile 2016-08-15 23:36:55 UTC (rev 151423)
@@ -1,21 +0,0 @@
-# $Id$
-
-SCRIPTS= PortIndex2MySQL
-
-edit = sed \
- -e 's, at TCLSH@,$(TCLSH),g'
-
-
-include ../../Mk/macports.autoconf.mk
-
-
-all: ${SCRIPTS}
-
-PortIndex2MySQL: PortIndex2MySQL.tcl
- ${edit} $< > $@
- chmod 755 $@
-
-clean:
- rm -f ${SCRIPTS}
-
-distclean: clean
Added: trunk/base/portmgr/jobs/PortIndex2MySQL
===================================================================
--- trunk/base/portmgr/jobs/PortIndex2MySQL (rev 0)
+++ trunk/base/portmgr/jobs/PortIndex2MySQL 2016-08-15 23:36:55 UTC (rev 151423)
@@ -0,0 +1 @@
+link PortIndex2MySQL.tcl
\ No newline at end of file
Property changes on: trunk/base/portmgr/jobs/PortIndex2MySQL
___________________________________________________________________
Added: svn:special
+ *
Modified: trunk/base/portmgr/jobs/PortIndex2MySQL.tcl
===================================================================
--- trunk/base/portmgr/jobs/PortIndex2MySQL.tcl 2016-08-15 22:01:09 UTC (rev 151422)
+++ trunk/base/portmgr/jobs/PortIndex2MySQL.tcl 2016-08-15 23:36:55 UTC (rev 151423)
@@ -1,4 +1,4 @@
-#!/opt/local/bin/port-tclsh
+#!/usr/bin/env port-tclsh
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
#
# PortIndex2MySQL.tcl
Modified: trunk/base/portmgr/jobs/PortIndex2PGSQL.tcl
===================================================================
--- trunk/base/portmgr/jobs/PortIndex2PGSQL.tcl 2016-08-15 22:01:09 UTC (rev 151422)
+++ trunk/base/portmgr/jobs/PortIndex2PGSQL.tcl 2016-08-15 23:36:55 UTC (rev 151423)
@@ -1,4 +1,4 @@
-#!/opt/local/bin/port-tclsh
+#!/usr/bin/env port-tclsh
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
#
# PortIndex2PGSQL.tcl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160815/3b189dc5/attachment.html>
More information about the macports-changes
mailing list