[1/2] convert-to-location: Fix double patch declaration

Message ID 20200711101102.2528-1-stefan.schantl@ipfire.org
State Accepted
Commit d047b493aaae6cb98e589718b778a67b0566f4e4
Headers
Series [1/2] convert-to-location: Fix double patch declaration |

Commit Message

Stefan Schantl July 11, 2020, 10:11 a.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 src/scripts/convert-to-location | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/src/scripts/convert-to-location b/src/scripts/convert-to-location
index 2d830078a..db61d3c79 100755
--- a/src/scripts/convert-to-location
+++ b/src/scripts/convert-to-location
@@ -36,7 +36,7 @@  if [ -f "$FW_CONF_DIR/geoipblock" ]; then
 	for file in "$FW_CONF_DIR/config" "$FW_CONF_DIR/input" "$FW_CONF_DIR/outgoing"; do
 		# Convert pattern which indicates location based rules to the new
 		# ones.
-		sed -i 's/cust_geoip/cust_location/g' "$FW_CONF_DIR/$file"
+		sed -i 's/cust_geoip/cust_location/g' "$file"
 	done
 
 	# Rename indicator for location based groups to the new one.