【发布时间】:2016-05-11 06:48:23
【问题描述】:
如果我在我的主脚本(有 shebang)中包含了一个配置文件(变量在 shell 脚本中定义)或库文件(有公共函数定义),那么我是否还需要一个用于该配置 shell 脚本的 shebang?
编辑: 我包括使用 .或来源 主文件包含#!/bin/sh shebang。
【问题讨论】:
-
你是如何从主脚本调用 conf 脚本的?
-
@heemayl 检查编辑