From ceececf83f92a617d2d019db7c9b5ac108f71ccf Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 28 Aug 2017 13:05:18 +0200 Subject: [PATCH] Improve the pack command, show more info and translate the exit code --- bin/phpsdk_deps.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/phpsdk_deps.php b/bin/phpsdk_deps.php index 0ee5eaf..82e654d 100644 --- a/bin/phpsdk_deps.php +++ b/bin/phpsdk_deps.php @@ -170,7 +170,8 @@ try { if ($force && is_file($pack_path)) { unlink($pack_path); } - `7za a $pack_path $path_to_pack`; + system("7za a $pack_path $path_to_pack", $st); + exit((int)$st); break; }