-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(fuser): embed fuser fork in as a submodule
- Loading branch information
Showing
59 changed files
with
30 additions
and
14,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
FUSER_VENDOR_PATH="vendor/fuser" | ||
FUSER_PATH="mountpoint-s3-fuser" | ||
BASE_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
FUSER_FULL_PATH="$BASE_PATH/$FUSER_VENDOR_PATH" | ||
|
||
STATUS=$(git status --porcelain $FUSER_FULL_PATH) | ||
if [ -n "$STATUS" ]; then | ||
echo >&2 "Refusing to re-vendor because the fuser directory is dirty" | ||
exit 1 | ||
fi | ||
FUSER_FULL_PATH="$BASE_PATH/$FUSER_PATH" | ||
|
||
rm -rf $FUSER_FULL_PATH | ||
|
||
git clone --branch fuser/fork ssh://[email protected]/awslabs/mountpoint-s3.git $FUSER_FULL_PATH | ||
COMMIT=$(git -C $FUSER_FULL_PATH rev-parse --short HEAD) | ||
|
||
rm -rf $FUSER_FULL_PATH/.git | ||
git submodule update --remote $FUSER_FULL_PATH | ||
|
||
git add $FUSER_FULL_PATH | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.