From: Akihiro MOTOKI Date: Tue, 26 Mar 2013 09:53:08 +0000 (+0900) Subject: (split) LDP: Ensure to escape $ in Makefile X-Git-Tag: LDP-3.50-final~8 X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=commitdiff_plain;h=f56eadd4b39ad1ed110a9d14dbb1c947e07b0125 (split) LDP: Ensure to escape $ in Makefile --- diff --git a/Makefile b/Makefile index b54ce373..cb0c9eb5 100644 --- a/Makefile +++ b/Makefile @@ -28,15 +28,15 @@ release: jm-setup # Do not remove unreleased pages @sleep 1 set -e; if git status release | grep deleted >/dev/null; then \ - git status release | grep 'deleted:' | awk '{print $3;}' | xargs -n1 echo; \ - git status release | grep 'deleted:' | awk '{print $3;}' | xargs -n1 git checkout; \ + git status release | grep deleted | awk '{print $$3;}' | xargs -n1 echo; \ + git status release | grep deleted | awk '{print $$3;}' | xargs -n1 git checkout; \ fi # I don't know why untrans.txt is generated in release target $(RM) untrans.txt release-tl: set -e; if git status release | grep modified >/dev/null; then \ - git status release | grep modified | awk '{print $3;}' | cut -d / -f 3 | xargs -n1 -IXXXXX ../../admin/JM-tl-modify.pl -U translation_list XXXXX RO; \ + git status release | grep modified | awk '{print $$3;}' | cut -d / -f 3 | xargs -n1 -IXXXXX ../../admin/JM-tl-modify.pl -U translation_list XXXXX RO; \ fi format: