From 89b96e213b40f47cd27c3ccfc38d2f14ed1711a1 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Sat, 27 Jun 2015 01:00:29 +0200 Subject: [PATCH] Fix a typo in cp, -L is the correct flag --- vps2arch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vps2arch b/vps2arch index 267040b..a905ecd 100755 --- a/vps2arch +++ b/vps2arch @@ -40,7 +40,7 @@ download_and_extract_bootstrap() { sha1sum -c sha1sums.txt || exit 1 tar -xpzf "$filename" rm -f "$filename" - cp -R /etc/resolv.conf "/root.$cpu_type/etc" + cp -L /etc/resolv.conf "/root.$cpu_type/etc" mount --rbind /dev "/root.$cpu_type/dev" mount -t proc proc "/root.$cpu_type/proc" mount -t sysfs sys "/root.$cpu_type/sys"