Skip to content
Snippets Groups Projects
Unverified Commit ad9cd5fc authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Remove usage of `realpath` (#893)

It turns out this command is not installed by default on macOS.
Fortunately the code doesn’t really require it to be used.
parent 5dec98e7
No related branches found
No related tags found
No related merge requests found
#!/bin/sh -e
dest_dir=$(realpath "$1")
ROOT=`dirname $(dirname "$0")`
DEST="$1"
ROOT=`dirname "$0"`
cd "$ROOT"
rm -rf "$dest_dir"/migrations
mkdir -p "$dest_dir"/migrations
cp ../migrations/* "$dest_dir"/migrations/
cp ../default-db.sqlite "$dest_dir"
rm -rf "$DEST"/migrations
mkdir -p "$DEST"/migrations
cp "$ROOT"/migrations/* "$DEST"/migrations/
cp "$ROOT"/default-db.sqlite "$DEST"
---
category: Maintenance
authors: [j-f1]
---
Remove usage of `realpath` command in build script
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment