mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-29 03:22:19 +00:00
Compatibility GNU/BSD, fix #20
Changed `sed -r` to `sed -E`. OSX does not support `sed -r` while FreeBSD does. GNU sed seems to support `sed -E` even if it is not in the man page. Changed install command.
This commit is contained in:
@@ -93,7 +93,7 @@ fi
|
||||
|
||||
cd "$TEMP"
|
||||
# TODO: There might be a problem here if the filename contains weird characters.
|
||||
find "usr" -type f -exec md5sum {} \; | sed -r "s/^([0-9a-f]{32} )/\1\//g" > "$TEMP/DEBIAN/md5sums"
|
||||
find "usr" -type f -exec md5sum {} \; | sed -E "s/^([0-9a-f]{32} )/\1\//g" > "$TEMP/DEBIAN/md5sums"
|
||||
cd "$PROJECT_DIR"
|
||||
|
||||
fakeroot dpkg-deb -b "$TEMP" "$RELEASE_DIR/$IDENTITY-${GAME_VERSION}_all.deb"
|
||||
|
Reference in New Issue
Block a user