简体   繁体   中英

-@ precedes shell script, what does it mean

please see the following code in busybox makefile

scripts/config/conf: scripts/config/Makefile
     $(MAKE) -C scripts/config conf
     -@if [ ! -f .config ] ; then \
       cp $(CONFIG_DEFCONFIG) .config; \
     fi

my question is that what does -@ before the if clause? it is really frustrating.

thanks in advance!

Read again GNU make documentation on recipes

The at sign @ disables echoing.

The minus sign - disables stop on error.

It is a make convention (not a shell one).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM