mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
scripts/image_release: fix script so it runs under ubuntu too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9f1245f02d
commit
a1652cbfb9
@ -27,10 +27,10 @@ RELEASE_DIR="target/$DISTRONAME-$TARGET_VERSION"
|
||||
cp $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.kernel $RELEASE_DIR/target/KERNEL
|
||||
|
||||
# create md5sum's
|
||||
pushd $RELEASE_DIR > /dev/null 2>&1
|
||||
md5sum -t target/SYSTEM > target/SYSTEM.md5
|
||||
md5sum -t target/KERNEL > target/KERNEL.md5
|
||||
popd 2>/dev/null > /dev/null 2>&1
|
||||
( cd $RELEASE_DIR;
|
||||
md5sum -t target/SYSTEM > target/SYSTEM.md5;
|
||||
md5sum -t target/KERNEL > target/KERNEL.md5;
|
||||
)
|
||||
|
||||
# create target directory
|
||||
mkdir -p $TARGET_IMG
|
||||
|
Loading…
x
Reference in New Issue
Block a user