Skip to content

Commit

Permalink
+ → \;
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Mar 1, 2024
1 parent 2cf3c34 commit 75ae521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _AutoinstallCreator/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def test_version_up_to_date(self):
cwd=_self_tmp_path,
check=True)

subprocess.run(busybox_exe_path_arg + [os.path.join(_self_tmp_path, self.version_str, 'update.sh')],
subprocess.run([os.path.join(_self_tmp_path, self.version_str, update_script_name)],
env={
**os.environ,
'MOCK_AUTOINSTALLCREATOR_VERSION_BODY': self.version_str,
'MOCK_AUTOINSTALLCREATOR_PACKAGE_FILEPATH': self.package_filepath
},
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [[ ! -z "$target_path" ]]; then

echo "Copying new files"
find "$dp0" -mindepth 1 -maxdepth 1 ! -name "tmp_*" \
-exec cp -rf "{}" "$target_path/" +
-exec cp -rf "{}" "$target_path/" \;

echo "Removing orphaned files"
orphaned_files=$(cat $dp0/_$self_name/orphaned_files.txt)
Expand Down

0 comments on commit 75ae521

Please sign in to comment.