質問編集履歴

1

追記

2021/03/22 05:21

投稿

I_am_
I_am_

スコア23

test CHANGED
File without changes
test CHANGED
@@ -158,11 +158,13 @@
158
158
 
159
159
 
160
160
 
161
+ export result="${workspace}"result.jpg
162
+
161
- . 実行ファイル 3 $start
163
+ . 実行ファイル 3 $start $path_ov2
162
-
163
-
164
-
164
+
165
+
166
+
165
- cp $ooo "${summary}"
167
+ cp $result "${summary}"
166
168
 
167
169
 
168
170
 
@@ -177,3 +179,35 @@
177
179
  システムの実行をしたいのですが、ファイルが存在していないと表示されています。
178
180
 
179
181
  ファイルがあるのにないと言われるのは何が原因なのですか??
182
+
183
+
184
+
185
+ ### 追記
186
+
187
+ 環境変数の大文字や小文字を合わせたら進んだのですが、次は結果のファイルが存在していないとなります。
188
+
189
+
190
+
191
+ ```
192
+
193
+ script2.sh: line 39: .: test: cannot execute binary file
194
+
195
+ script2.sh: line 54: .: test: cannot execute binary file
196
+
197
+ script2.sh: line 62: .: test: cannot execute binary file
198
+
199
+ ./test: error while loading shared libraries: librun.so: cannot open shared object file: No such file or directory
200
+
201
+ cp: cannot stat './test/work2021/IMG_1/result.jpg': No such file or directory
202
+
203
+ script2.sh: line 39: .: test: cannot execute binary file
204
+
205
+ script2.sh: line 54: .: test: cannot execute binary file
206
+
207
+ script2.sh: line 62: .: test: cannot execute binary file
208
+
209
+ ./test: error while loading shared libraries: librun.so: cannot open shared object file: No such file or directory
210
+
211
+ cp: cannot stat './test/work2021/IMG_2/result.jpg': No such file or directory
212
+
213
+ ```