Skip to content

Commit c806b6a

Browse files
committed
Use pwd instead of realpath
1 parent 931afbb commit c806b6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/drupal/update-scaffold

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

3-
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4-
ROOT=`realpath "${CWD}/../.."`
3+
ROOT=$(pwd)
54

65
drush dl drupal-8 --destination=/tmp --drupal-project-rename=drupal-8 --quiet -y
76

@@ -17,4 +16,3 @@ rsync -avz --delete /tmp/drupal-8/ $ROOT/web \
1716
--exclude=vendor
1817

1918
rm -rf /tmp/drupal-8
20-

0 commit comments

Comments
 (0)