From: Alexander Shiryaev Date: Thu, 17 Nov 2016 21:48:15 +0000 (+0300) Subject: export script fixed X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=9ff635b74b0726d6a4235a564d81f568392f7a81;p=bbcp.git export script fixed --- diff --git a/BlackBox/export b/BlackBox/export index 1c591a0..06b25cb 100755 --- a/BlackBox/export +++ b/BlackBox/export @@ -4,7 +4,7 @@ if [ $# -eq 1 ]; then outDir="${1}" if [ ! -e "${outDir}" ]; then mkdir "${outDir}" - pax -r -w -L -s ',^Lin/Mod/gen-.*,,' -s ',^Lin/Rsrc.*,,' `ls -p | grep -E "^[A-Z].+\/$" | grep -v "^${outDir}\/$"` libBB.so loader run-BlackBox BlackBox1.run run-BlackBox1 blackbox* BlackBox* "${outDir}" + pax -r -w -L -s ',^Lin/Mod/gen-.*,,' -s ',^Lin/Rsrc.*,,' `ls -p | grep -E "^[A-Z].+\/$" | grep -v "^${outDir}\/$"` run-BlackBox blackbox* BlackBox* "${outDir}" else echo "${outDir}: already exists" exit 2