From 7ad192d9b625a4ea79ad50103d3cb13739755d3e Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Sat, 5 Sep 2015 22:59:23 +0300 Subject: [PATCH] Fix exec flag for fastnetmon client. Closes #398 --- src/scripts/build_libary_bundle.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripts/build_libary_bundle.pl b/src/scripts/build_libary_bundle.pl index 32e4d6a9..093ce1d9 100755 --- a/src/scripts/build_libary_bundle.pl +++ b/src/scripts/build_libary_bundle.pl @@ -62,7 +62,7 @@ for my $library (@our_libraries) { my $dir_name = dirname($file_full_path); my $file_name = basename($file_full_path); - print "$dir_name $file_name \n"; + print "$dir_name $file_name\n"; my $target_full_path = $file_full_path; $target_full_path =~ s/^$global_path/$target_path/; @@ -97,6 +97,7 @@ copy("$global_path/fastnetmon/fastnetmon_client", "$target_path/fastnetmon/fastn # Set exec flag chmod 0755, "$target_path/fastnetmon/fastnetmon"; +chmod 0755, "$target_path/fastnetmon/fastnetmon_client"; `tar -cpzf $archive_bundle_name -C $target_path ./`; print "We have created bundle $archive_bundle_name\n";