2017-10-17 3 views
0

UrbanCode Deploy Shellステップで次のコマンドを実行しています。私が望むのは、見つかったすべてのファイルに対してUtil.shを実行することです。find -execでexec部分が実行されない

find . -type f -exec ls -al {} \; 
find . -type f -exec Util.sh -import source= {} overwrite=true \; 
Util.sh 

次のように出力され、2番目のコマンドはまったく実行されませんでした。

delimiter specified is , 
executing script for all values in /app/bip/XMLP/Reports 

------------------------------- 
executing script for values: /app/bip/XMLP/Reports 
/bin/sh /var/tmp/shell_command_5832071109593396198.tmp /app/bip/XMLP/Reports 
------------------------------- 
command output: 
./BIP_Rollfoward/tmp/FlexPak/Asset_Allocation/Asset_Allocation.xdmz 
./BIP_Rollfoward/tmp/FlexPak/Asset_Allocation/Asset_Allocation.xdoz 
/var/tmp/shell_command_5832071109593396198.tmp: Util.sh: not found 
=============================== 
command exit code: 1 
+2

'/var/tmp/shell_command_5832071109593396198.tmp: Util.sh:見つからない –

答えて

-1

あなたは間にスペースを削除する必要がある '=' と '{' ソースに= {}

は次のようになります。

source={} 
関連する問題