mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user