From a6476af82fb8eeb0375df91ff294526d077c3a99 Mon Sep 17 00:00:00 2001 From: Christophe Vandekerchove Date: Thu, 24 Mar 2016 10:00:34 +0100 Subject: [PATCH] Corrected small typo --- smart_launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_launch.sh b/smart_launch.sh index 2e140b9..762064b 100755 --- a/smart_launch.sh +++ b/smart_launch.sh @@ -8,7 +8,7 @@ then echo "###" echo "# Finding latest map" echo "###" - $last_save=ls /opt/factorio/saves -lt | grep save |head -1 |awk '{print $(NF)}' + last_save=$(ls /opt/factorio/saves -lt | grep save |head -1 |awk '{print $(NF)}') else echo "###" echo "# Creating a new map [save.zip]"