From 153cdd696b1e6bb5bbb1b79ad6bffc26e5867384 Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Mon, 28 Oct 2024 16:58:19 +0000 Subject: [PATCH] remove -p --- compiled_starters/swift/.codecrafters/compile.sh | 2 +- compiled_starters/swift/your_program.sh | 2 +- solutions/swift/01-jm1/code/.codecrafters/compile.sh | 2 +- solutions/swift/01-jm1/code/your_program.sh | 2 +- starter_templates/swift/code/.codecrafters/compile.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiled_starters/swift/.codecrafters/compile.sh b/compiled_starters/swift/.codecrafters/compile.sh index fea98ae..e7fa9f0 100755 --- a/compiled_starters/swift/.codecrafters/compile.sh +++ b/compiled_starters/swift/.codecrafters/compile.sh @@ -21,7 +21,7 @@ if [ -d "/tmp/codecrafters-build-redis-swift" ]; then # cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old - cp -p -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift + cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift else echo "Build directory does not exist." fi diff --git a/compiled_starters/swift/your_program.sh b/compiled_starters/swift/your_program.sh index 77d88c8..f7334de 100755 --- a/compiled_starters/swift/your_program.sh +++ b/compiled_starters/swift/your_program.sh @@ -23,7 +23,7 @@ set -e # Exit early if any commands fail # mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old # cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old - cp -p -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift + cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift else echo "Build directory does not exist." fi diff --git a/solutions/swift/01-jm1/code/.codecrafters/compile.sh b/solutions/swift/01-jm1/code/.codecrafters/compile.sh index fea98ae..e7fa9f0 100755 --- a/solutions/swift/01-jm1/code/.codecrafters/compile.sh +++ b/solutions/swift/01-jm1/code/.codecrafters/compile.sh @@ -21,7 +21,7 @@ if [ -d "/tmp/codecrafters-build-redis-swift" ]; then # cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old - cp -p -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift + cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift else echo "Build directory does not exist." fi diff --git a/solutions/swift/01-jm1/code/your_program.sh b/solutions/swift/01-jm1/code/your_program.sh index 77d88c8..f7334de 100755 --- a/solutions/swift/01-jm1/code/your_program.sh +++ b/solutions/swift/01-jm1/code/your_program.sh @@ -23,7 +23,7 @@ set -e # Exit early if any commands fail # mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old # cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old - cp -p -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift + cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift else echo "Build directory does not exist." fi diff --git a/starter_templates/swift/code/.codecrafters/compile.sh b/starter_templates/swift/code/.codecrafters/compile.sh index fea98ae..e7fa9f0 100755 --- a/starter_templates/swift/code/.codecrafters/compile.sh +++ b/starter_templates/swift/code/.codecrafters/compile.sh @@ -21,7 +21,7 @@ if [ -d "/tmp/codecrafters-build-redis-swift" ]; then # cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old - cp -p -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift + cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift else echo "Build directory does not exist." fi