Skip to content

Commit

Permalink
remove -p
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Oct 28, 2024
1 parent ada7d2a commit 153cdd6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiled_starters/swift/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion compiled_starters/swift/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion solutions/swift/01-jm1/code/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion solutions/swift/01-jm1/code/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion starter_templates/swift/code/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 153cdd6

Please sign in to comment.