empty.test

来自「LINUX下的源码工具,可自己分析,或者直接装在系统上作为应用」· TEST 代码 · 共 32 行

TEST
32
字号
#! /bin/sh# Test for bug where if the list of installables is empty, invalid sh# code is generated.. $srcdir/defs || exit 1cat > Makefile.am << 'END'data_DATA =END$AUTOMAKE || exit 1# Create configure so Makefile doesn't look out-of-date.echo frob > configureecho frob > config.status# Need a mkinstalldirs we can actually execute.  make on my Linux box# won't execute this file if is empty, or has just a colon in it (but# it will run from the shell).cat > mkinstalldirs << 'END'#!/bin/shENDchmod +x mkinstalldirs# Substitute variables we need.sed -e 's,@SHELL@,/bin/sh,g' -e 's/@srcdir@/./g' \   -e 's/@top_srcdir@/./g' -e 's/@datadir@/./g' \   < Makefile.in > Makefile$MAKE install

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?