installsh.test
来自「LINUX下的源码工具,可自己分析,或者直接装在系统上作为应用」· TEST 代码 · 共 39 行
TEST
39 行
#! /bin/sh# Test for this bug:# automake: Makefile.am: required file "../../install-sh" not found; installing# This also makes sure that install-sh is created in the correct directory.. $srcdir/defs || exit 1: > Makefile.amrm install-sh# Since the default path includes '../..', we must run this test in# yet another subdir.mkdir frobmv Makefile.am configure.in mkinstalldirs frob/cd frob# If srcdir is relative, we need to modify it.case "$srcdir" in /*) ;; *) srcdir="../$srcdir" ;;esacAUTOMAKE="../../../automake --amdir=$srcdir/.. --foreign"# Now we proceed with the test$AUTOMAKE --add-missing > output 2>&1 \ || exit 1# Only one `/' should appear in the output.grep '/.*/' output \ && exit 1test -f install-sh
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?